Results 1 to 2 of 2

Thread: Adding up dynamically added fields

  1. #1
    Join Date
    Apr 2008
    Posts
    4

    Default Adding up dynamically added fields

    Hi,

    I'm setting up a 2-page form right now and I'm wondering if the formmail computation module can handle something for me.

    The first page on the form has the option of dynamically adding new form fields via javascript ('registrant1', 'registrant2', etc). On the second page of the form, I need to show an order summary with a value based on the number of dynamically added registrants.

    Can the module deal with dynamically added fields?

    Thanks,
    Alan

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Adding up dynamically added fields

    Hi,

    All fields properly created with HTML or with JavaScript get submitted to the server.

    The computations occur on the server when the fields are processed by FormMail.

    FormMail doesn't (and cannot) know where the fields came from or how they were created.

    So, yes, the Computation Module can deal with the fields you've described.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. multi_keep and dynamically created select options
    By ewel in forum FormMail Subscription Support
    Replies: 4
    Last Post: 14-Feb-2006, 10:59 AM
  2. Adding Unique Number To Confirmation Page
    By swordfishingcentral in forum Community Support
    Replies: 0
    Last Post: 14-Feb-2006, 03:46 AM
  3. Adding a timestamp to emails.
    By GWD in forum FormMail Subscription Support
    Replies: 3
    Last Post: 08-Feb-2005, 08:21 PM
  4. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 12:25 PM
  5. Adding Attachment Variables
    By Bella in forum FormMail Subscription Support
    Replies: 1
    Last Post: 12-Apr-2004, 09:43 AM

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
  •