Help with user defined amounts of subforms
- HaciendastlAsked on September 14, 2012 at 09:29 AM
I own a restaurant that is starting a box lunch program and we want to have an online form available for ordering.
There's no fixed amount of boxes, a customer could order 5 or 50 but each individual box has several entree choices and other options. I can't figure out a good way to set this up in the form. Here's what I have started:
http://form.jotform.us/form/22534364260145
What I basically need is a way for the "STEP 3: Choose Your Bueno Boxes" section to have an option to add another box to the order, the ability to edit boxes that have already been created and then an option to proceed and submit when they are finished, any ideas?
- JotForm SupportNeilVicenteAnswered on September 14, 2012 at 09:54 AM
We do not yet have a built-in feature to dynamically add new fields to a form, but there is a workaround which involves conditions and a little creativity.
Here is a sample form that demonstrates the said workaround:
http://form.jotform.com/form/11301836230
To learn more, please refer to this related thread:
Feel free to ask should you need further assistance,
- HaciendastlAnswered on September 14, 2012 at 10:04 AM
Thanks for the response, I was hoping to avoid having to manually copy all of the data, is there a way to "batch" copy fields or do I have to do it for every single field?
- JotForm SupportNeilVicenteAnswered on September 14, 2012 at 10:16 AM
You can use JotForm's duplicate field function to make it easier.
Right click on a field then choose Duplicate.
Hope this helps. - HaciendastlAnswered on September 14, 2012 at 10:23 AM
Maybe I'm not understanding this but the actual order section has 8 fields so I would have to duplicate, drag and assign conditions 200 times to have the option to create 25 boxes? Is there a way to attach a condition to a collapse bar and the fields contained in it?
- JotForm SupportNeilVicenteAnswered on September 14, 2012 at 10:40 AM
Unfortunately, form collapse bars cannot be involved in conditions.
A viable workaround for your requirement is to have the 25 sets of fields (or boxes, as you prefer to call it) on their own pages, using page breaks. Then, you can use conditions to skip other pages depending on the number of boxes they select, or enter.