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

    I have a question required fields and conditionals

    Asked by btrn2000 on June 02, 2017 at 05:13 PM

    If I set up a field which leads to another and I want to make that field required, will the form not work if the dependent field is set to required, but left blank?

    For example,

    I create an optional phone number field and set a condition that, if the field is NOT EMPTY, I want to require that 2 additional fields are filled in (best time to call, contact preference). I set those 2 fields to required, because I want to make sure they are not left blank.
    If I set them to required and the phone number field is not filled in, will the form not submit?

    Please see my Contact form at https://www.jotform.com/build/71503396045252

    Thank you very much for your help.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by BDAVID on June 02, 2017 at 07:52 PM

    You can accomplish what you need to, through conditional logic, please check this guide: https://www.jotform.com/help/367-How-to-Make-a-Field-Required-Based-on-User-s-Answer

    Note: unrequire the fields through it's properties if you will do it through conditions.