How to hide a radio button choice conditionally?

  • djc728
    Asked on December 14, 2021 at 6:51 PM

    If you look at the enclosed screenshot I have users select a Primary Horse and a Secondary Horse in case their Primary Horse gets scratched out of the race.

    What I would like is for the user to NOT select the same horse for both their Primary and Secondary selection. I have that written in all caps in the Secondary selection area as you can see from the diagram BUT it would be great if I could either set a condition where I can hide the radio button choice in the Secondary area when a user selects a Primary and vice versa if by chance they select Secondary first.

    I looked at the conditional statements, calculated statements and hide sections statements but neither of these options will work for me so I'm guessing it's not possible at this point.

    Jotform Thread 3592069 Screenshot
  • Yau_C
    Replied on December 15, 2021 at 12:08 AM

    Hi,

    Do you want to change this

    1639544653 61b9774d22454  Screenshot 10 (version 1)

    to this

    1639544641 61b977419b144  Screenshot 21 (version 2)

    upon certain condition?

    If so, you can create two versions of the same question and keep version 2 hidden by default.

    So that you can hide version1 and unhide version 2 when the condition is met.

    Let us know if you need further assistance.


  • djc728
    Replied on December 15, 2021 at 12:17 AM

    No I think you're missing the point. It's a radio button so the user selects say horse #1 as the Primary I'd like to programmatically stop the user from selecting horse #1 as the Secondary. According to your way I would need 6 versions of the Secondary selection group of radio buttons so if the user selects horse #1 as the Primary I would need to show the hidden version that doesn't have horse #1.

    That would work but for fields of 10 to 14 horses thats alot of hidden versions.

    Is there an easier way.

  • Sam_G
    Replied on December 15, 2021 at 3:57 AM

    Hello Djc728,

    If what you want to achieve is having conditions to show/hide individual options in a radio button field, I think this is not possible because the radio button is regarded as a single field.

    You can use what my colleague suggested by creating multiple radio buttons with specific fields showing.

    I hope this helps.