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

    Can I mark hidden fields as required?

    Asked by lmdeaton1 on March 09, 2017 at 05:43 PM

    I have a form that hides certain fields depending on what the user selects for one of the first radio buttons.   Based on the selection in the radio button, certain fields appear for the user to fill out.  I want to make whatever fields that are no longer hidden to be required to be filled out.  Can I do that?

    https://form.jotform.com/61396486580164

     

    In other words, based on the radio button selection, the user may only be shown 5 of the 15 hidden fields.  I want to force the user to fill out those 5 fields that are not hidden before submitting the form.  The other 10 fields would remain hidden.

     

    Thanks,
    Larry Deaton

    larrymdeaton@yahoo.com

    Page URL:
    https://form.jotform.com/61396486580164

  • Profile Image
    JotForm Support

    Answered by Jim_R on March 10, 2017 at 05:23 AM

    Hello Larry, yes you can do that. Just set the fields as required and that should do it. They will be required as soon as they appear (show up) on your form via a triggered condition.

    If by any chance there's a scenario that the field is not required first, then needs to be required after, then that too can be setup using Conditions.

    Related guides:

    Smart-Forms-Using-Conditional-Logic

    How-to-Make-a-Field-Required-Based-on-User-s-Answer