How to require a field conditionally

  • RickyF
    Asked on August 8, 2025 at 2:30 PM

    I want to have fields that are required conditionally.

    For example I have a list of checkboxes asking if the user would like to join our email newsletter or our monthly newsletter that is snail mail.

    If they choose the snail mail newsletter I want to require their address, if they don't click on that, but click on the email newsletter I want to require the email address field, but not require them to enter a mailing address.

    Is this something that can be done with Jotform?

    Thanks,

    Ricky

  • Eiron_O JotForm Support
    Replied on August 8, 2025 at 2:43 PM

    Hi Ricky,

    Thanks for reaching out to Jotform Support. Yes, it's possible to require a field conditionally. Let me show you how:

    1. In Form Builder, go to Settings at the top.
    2. Click on Conditions on the left menu, then select Enable/Require/Mask Field condition.How to require a field conditionally Image 1 Screenshot 30
    3. You can create a condition like the example below:How to require a field conditionally Image 2 Screenshot 41

    You can also follow this guide on How to Conditionally Change a Field to Required.

    Give it a try and let us know if you need any more help.

  • RickyF
    Replied on August 8, 2025 at 3:44 PM

    Thanks, I'll try it out. It looks like that should work.

Your Reply