What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Setting Conditions with required fields

    Asked by xcitemedia on December 16, 2013 at 02:30 PM

    In my form are several checkboxes. Based on what the user selects, I show hidden fields that have to do with what the user checked initially. How can I make fields required, only if another field value (check box in this case) is something? 


    Example Scenario:



    I am an Owner

    I am a tenant

    -- if 'I am a tenant' is selected, show hidden fields and now require them to be filled in, only because that specific checkbox was selected. 

  • Profile Image
    JotForm Support

    Answered by TitusN on December 16, 2013 at 03:13 PM


    You could consider pre-filling the all required fields with a default value as illustrated:

    This does not work with all form field types, I have illustrated this with the 'Text box' field type. 

    I've whipped up a sample form that demonstrates this: http://form.jotform.co/form/33495020088857

    This form demostrates the use of required fields which do not prevent a submission regardlessof wheather they are hidden or shown using a conditional rule based on the options of the form user.

    Hope this helps. 



  • Profile Image

    Answered by xcitemedia on December 17, 2013 at 05:26 PM

    Thanks. That works! 

  • Profile Image
    JotForm Support

    Answered by TitusN on December 17, 2013 at 05:48 PM

    You are welcome. 

    Please let us know how we can assist further.