How to gray out a field if the another field is filled?

  • asimsidiqi
    Asked on April 28, 2018 at 2:23 AM

    please find attached image, i want user to select any one menu from two menus.

    is there any way out? but i dont want to hide any of the menu

    Jotform Thread 1458120 Screenshot
  • Mike_G JotForm Support
    Replied on April 28, 2018 at 5:37 AM

    I have found both Menu 1 and Menu 2 represented by two separate fields on one of your forms — https://www.jotformpro.com/form/61361216788965

    Since that is the case, what you are trying to achieve is possible using ENABLE/REQUIRE FIELD conditional logic — How-to-Enable-Disable-Fields-Using-Conditional-Logic

    You can add the conditions shown in the screenshot below in your form.

    1524907544t05 24 42 Screenshot 10

    The effect of those conditions would disable the other field if the other field is filled. And since both Menu 1 and Menu 2 are checkbox fields, there is a way to select and deselect the options from the fields.

    Result:

    1524908106t17 34 Screenshot 21

    I hope this helps. If you have other questions or concerns, please do not hesitate to let us know.