Is there a way to base the number of rows in a table on a previous answer?

  • sportingcolumbus
    Asked on April 5, 2018 at 5:44 PM
  • Elton Support Team Lead
    Replied on April 5, 2018 at 6:17 PM

    Would you mind elaborating your question?

    You can insert/calculate a field through condition based on the user's answer from the previous field. Guide: https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

    Let us know if this isn't what you're looking for.

  • sportingcolumbus
    Replied on April 5, 2018 at 7:43 PM
    I am trying to have a team enter a roster. So if the roster has 10 players, can the table automatically have 10 rows (one for each player) but if the roster has 12 players, can the table have 12 rows. So I would ask how many players are on your roster and that answer would dictate how many rows my table would have (in the next question).
    Hopefully that helps but let me know if there are still questions.
    Sent from Jeffrey Warren's iPhone
    ...
  • John_Benson
    Replied on April 5, 2018 at 9:22 PM

    To my understanding, you want a field and enter a value of how many players you want then it will generate a table row equal to the value. 

    I am not sure if that is possible for the Input Table field or Spreadsheet widget.

    You can try the Infinite List widget or Configurable List widget. The widgets can add a new line field as many as you like. Here's a sample of Infinite List widget:

    1522977644Demo test Screenshot 10

    If you want to test or check it, here's the link to my demo form: https://form.jotform.com/80948278555977

    You can clone the demo form by following this guide.

    I hope this information helps. Thank you.