Conditional logic based on a specific row of an input table

  • sfbarocas
    Asked on December 18, 2020 at 9:14 PM

    Hi,

    I am creating a form and have an input table with yes/no options to select from. Is it possible to use conditional logic for additional questions to appear based on whether they answer yes/no to one of the items in the input table?


    Thanks!

    sadie

  • Lorenz JotForm Support
    Replied on December 18, 2020 at 10:50 PM

    Thank you for contacting us.

    You can show/hide fields based on the selected option from the input table, but it would read the input table as a single field and has no option to choose what field from the table to use for the condition. So if you have multiple yes/no options from the input table, it will show the additional field so long as the yes option is selected regardless of what column that option was selected. And I assume that's not how you want it to work.

    Here's a sample form I've created to better understand what I mean: https://form.jotform.com/203528997305060

    If you need any clarification please do let us know. Also, you may provide us more information on what you're trying to accomplish so we can open a feature request.

  • sfbarocas
    Replied on December 21, 2020 at 12:00 PM

    Can I set the logic to be about 1 specific row? and IF they answer yes to that item then another questions will pop up and if they answer no then it will not appear?

  • Eduardo_H
    Replied on December 21, 2020 at 12:51 PM

    Hello @sfbarocas

    Unfortunately, as explained above by my colleague, it is currently not possible to apply conditional logic on a specific row of the input table.

    The conditional logic will necessarily be based on the entire input table.

    Let us know if you need any further assistance.