Is there a way to change the maximum rows for the list dynamically?

  • Profile Image
    tfsforms
    Asked 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

  • Profile Image
    Welvin
    Answered on November 07, 2014 at 07:28 AM

    Hi,

    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.

    Thank you!

  • Profile Image
    tfsforms
    Answered on November 07, 2014 at 02:54 PM

    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.

  • Profile Image
    Mike_T
    Answered on November 07, 2014 at 04:22 PM

    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.