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

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


    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.



  • Profile Image
    Answered on July 14, 2017 at 01:00 PM

    You could use our disable conditions:

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

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

    And here is my test form so you can check:

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

    Thank you!