PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Dynamically populate list field

  1. NathanD
    Member

    I'm setting up a form that functions as a review of an event and part of this form requires a section that breaks down attendance. The List option looks like it will work and I have three columns: Age, Male and Female.

    What I'd like to do is populate the Age field with predetermined ranges like 18-24, 25-44 etc. It will have one row displayed to start and I'd like the Age field to be populated with 1-4, then when they add another row, it would populate that Age field with the next age range.

    I'd imagine that I can create a php snippet to hold the age ranges, but I'm unsure on how to connect the two - it's all relatively new to me. Any direction would be appreciated! I'd like to make this as little work as possible for the visitors filling out the form (don't want them to need to type the age ranges themselves).

    Posted 12 years ago on Thursday January 26, 2012 | Permalink