JotForm Cards: Show or hide field based on an answer in a Yes/No field type Input Table field

  • aolmos_aolmos498
    Asked on May 28, 2019 at 10:50 AM

    Hi!

    We have set an input table, with yes/no answers to 9 questions.  We need:


    1. Trigger a logic to show an additional field if any of those questions were answered "YES"

    2. Store the actual answers.  Now they are not recorded in Google Spreadsheets.


    Please advice

  • Mike_G JotForm Support
    Replied on May 28, 2019 at 2:02 PM

    As for your first concern, I see that you have set a calculation value with for each row in the table.

    1559063714zt13 07 48 Screenshot 10

    And since that is the case, you will only be needing to pass the calculation value of each row into a Form Calculation widget.

    1559064410zt13 25 15 Screenshot 21

    The result of the calculation shown in the screenshot above will be a 9-digit number where each digit represents the calculation value of the selected answer in a row.

    Once you have set that up, you can now create a condition that will show/hide a field based on the result in the Form Calculation widget.

    1559064774zt13 18 39 Screenshot 32

    Note: You have to hide the Form Calculation widget on the form. You can do that from its properties. — How-to-Hide-Form-Fields

    Here's a Sample Form I have created based on the only form in your account — https://form.jotform.com/91474956816976

    With regards to your other concern, I have integrated the Sample Form with Google Spreadsheet and I see that the output of each row's answer in the spreadsheet is either "True" or "False". I believe that is the default return output for the Yes/No field type of the Input Table field. And to my understanding, you would like to have "Yes" or "No" as the output passed to Google Spreadsheet. Is that correct? Kindly confirm.

    We will wait for your response.