How do I enable or disable a radio button based on a condition from a different field value?

  • yogishchandra
    Asked on July 14, 2017 at 10:56 AM

    Hi,

    I wish to enable a particular radio button in a field based on a value in a different field.

    For example:

    I have to radio button under a field. Button 1 and Button 2

    And I have a Textbox.

    If I enter 1 in text box Button 1 must be auto selected.

    If I enter 2 in text box then Button 2 must to auto selected.

    If text box is empty or if text box has a different value then non of the Buttons must be selected.

     

     

  • Nik_C
    Replied on July 14, 2017 at 1:00 PM

    You could use our disable conditions:

    How do I enable or disable a radio button based on a condition from a different field value? Image 1 Screenshot 50

    And create a condition when text is not equal to 1 or 2 or if it is empty, radio buttons will be disabled:

    How do I enable or disable a radio button based on a condition from a different field value? Image 2 Screenshot 61

    Also, when 1 or 2 is selected appropriate radios will be selected:

    How do I enable or disable a radio button based on a condition from a different field value? Image 3 Screenshot 72

    How do I enable or disable a radio button based on a condition from a different field value? Image 4 Screenshot 83

    And here is my test form so you can check: https://form.jotformpro.com/71944773459976

    Please let us know if that is what you had in mind or if you have any further questions.

    Thank you!