JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Is there a way to change the maximum rows for the list dynamically?Asked by tfsforms on November 07, 2014 at 04:04 AM
Is there a way to change the maximum rows for the list dynamically? That is, I would like for the user to specify a number of rows and then have the form change the maximum number of rows based on the user's input. Actually I would like to change the minimum number of rows to this value as well so that the list will show the exact number of entries required.
This is a re-post of a comment on How to Set Up the Configurable List Widget
Unfortunately, it's not possible. Why not use the widget directly? That's the purpose of it being a dynamic one. I know you want to incorporate the conditional logic on it, but it's not possible.
You may consider using plain input fields and show these fields based on the user selection on the previous fields. You can use this guide: http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool.
Thanks, Welvin. I had considered using the plain inputs fields and the conditional form collapses similar to your example hotel booking form, but I may have up to 30 or more "guest detail" entries, so it would make for a pretty ugly form. I am already using the widget directly (and it works quite nicely) but was hoping to add some extra controls to help prevent user input errors. Thanks again for responding so quickly to my question.
On behalf of my colleague Welvin, you are quite welcome.
Please feel free to contact us anytime if you need any further assistance. We will be happy to help.