Yes/No Radio Button with Show/Hide Condition

  • McCarroll_Peter
    Asked on June 29, 2024 at 6:09 PM

    We frequently need to use yes/no questions, and if the answer if yes then we want more details and possibly a file upload. In your system we can achiave this, but it requires lots of conditional logic and space.

    I'd like to suggest a special field type calles Yes/No - using radio buttons in-line in column mode and if yes is selected then (based on settings) additional instructions, long answer response and an upload file micro button be added dynamically beneath the field

  • Ericson_B JotForm Support
    Replied on June 29, 2024 at 7:11 PM

    Hi Peter,

    Thanks for reaching out to Jotform Support. There is a workaround in which you can use the Input Table with Yes and No radio buttons to display fields based on the input. Let me show you how:

    • In Form Builder, add a Input Table and configure the rows and column.

    Yes/No Radio Button with Show/Hide Condition Image 1 Screenshot 60

    • Next, add a Form Calculation widget and add the Input Table in the formula, setting it as a string

    Yes/No Radio Button with Show/Hide Condition Image 2 Screenshot 71

    • Add a File Upload and Long Text field.

    Yes/No Radio Button with Show/Hide Condition Image 3 Screenshot 82

    • Finally, create a Show/Hide field condition and set it as follows. 

    Yes/No Radio Button with Show/Hide Condition Image 4 Screenshot 93Check out the screencast below to see my results. I only showed you the form calculation widget to this demo form demonstrate how it works.

    Yes/No Radio Button with Show/Hide Condition Image 5 Screenshot 104
    Here are some guides you might want to check out:

    Give it a try and let us know if you have any other questions.

 
Your Answer