+ Reply to Thread
Results 1 to 4 of 4

Thread: Add form fields

  1. #1
    Join Date
    Oct 2006
    Posts
    2

    Default Add form fields

    I am a total noob to php and html forms so please be gentle with me
    Firstly, so far so good, formmail does what I want it to and the emails show the content I need. Now...
    I am trying to create an order form where users select from 45 items...either 10 or 20 per order. (e.g. 3 of one...2 of another and 5 of another item to total 10 items)
    is there a simple way to add the number of items and show the total in a box
    here's my form to date
    (I haven't set up the templates yet, that will happen later)
    Any suggestions appreciated
    Thanks

  2. #2
    Join Date
    Jun 2006
    Posts
    214

    Default Re: Add form fields

    I think derived fields is what you want. You can combine several fields to make a new field.

  3. #3
    Join Date
    Oct 2006
    Posts
    2

    Default Re: Add form fields

    Thanks for the prompt reply :-)
    can you elaborate on that or point me to an example of that in use so I can get the idea?
    Like I said, total noob
    thanks again

  4. #4
    Join Date
    Oct 2006
    Posts
    4

    Default Re: Add form fields

    as the link suggests

    <input type="hidden" name="derive_fields"
    value="email = EmailAddress, realname = FirstName + LastName" />

    or if you had 5 forms named item1, item2, item3, itm4 and item5 and you wanted them processed as one field

    <input type="hidden" name="derive_fields"
    value="items = item1 + item2 + item3 + item4 + item5" />

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. How do I add a subject to my mail?
    By liquidlight in forum FormMailEncoder/Decoder
    Replies: 4
    Last Post: 27-Apr-2006, 01:36 AM
  2. Sending custom fields on form results
    By pablo1999 in forum FormMail Subscription Support
    Replies: 3
    Last Post: 03-Mar-2005, 07:28 PM
  3. specified 'SendMailFOption', no email add. to use?
    By djgotee in forum FormMail Subscription Support
    Replies: 7
    Last Post: 03-Dec-2004, 01:44 AM
  4. auto add feature
    By jamesh3 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Jun-2004, 07:44 AM
  5. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 01:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts