What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to add 1 to n fields based on a user selectionAsked by lplatz on October 30, 2014 at 11:22 PM
One to Many via a subform??
Here is what I'm attempting to accomplish. Collect basic profile information of an individual, then via an action such as an "add" button, collect information on 1 to n of items associated with that individual. Could be anything from cars, pets, children, etc linked to this individual.
Any ideas for an approach using JotForm tool?
If my understanding of the requirement is correct, I think the Configurable List Widget will work best on the requirement.
Check it here http://widgets.jotform.com/widget/configurable_list
Here is a demo jotform http://form.myjotform.com/form/41112368425549 you can try with the Configurable List widget on it.
If you test the demo jotform, you can see that the widget have the capability to add new entry/details/information to a single entity (i.e. a person/Name)
You should also check this user guide http://www.jotform.com/help/282-How-to-Set-Up-the-Configurable-List-Widget
Hope this help. Please tell us if this can work on what you need or not.
This looks very promising. I'll certainly give this widget a try. Thank you for your support.
Thank you for taking the time to update us.
Please feel free to contact us again anytime for any assistance you need.
If I only had but a few data points to collect, this solution would have fit the bill. Unfortunately, the data fields I need to collect is significant which makes the table size huge (# of columns). This pushes the right columns of the table off of the webpage making the usability poor. If there were a way to reformat the data collection fields to a normal web form format, then we'd be back in business. If another solution exists or the configurable list table can be reformatted please let me know.
Could you please tell us how many data fields are you planning to capture?
Are all the items required? Or can they be displayed depending on a selection, for example if I select Car then I would have to provide information about my car.
It would be great if you could provide an example to what you want to accomplish as it will allows to understand your requirements and then provide a possible solution.
We will await for your response.
The following is my current form. There are 7 fields with 5 required.
Functionality is as follows. Client completes standard new client profile form (name, address, etc.) for their new account. At the botton of that form, they click a button to "Add Pets". That action would open a pet data collection form. On completion of the pet data collection form, the user would have the option to either "Form Complete" or "Add Another Pet". The later election would provide a new data collection form. This functionality cycle would be limitless. The max pet load I have for any one client has never exceeded 10 pets.
Form Fields to note.
Customer ID: I'll manually input upon receipt
Pet ID#: I'll manuallyl input upon receipt
The large text area on the right of the form: that is an optional pet image upload area
We can use conditional logic on form ( https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic ) to show additional fields based on a user selection.
For example, if the 'Add Another Pet' is equal to 'Yes' then show additional fields.
You can clone the form ( https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL ) to check it.
If you need any further assistance, please let us know.