Can I mark hidden fields as required?

  • Profile Image
    lmdeaton1
    Asked 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

  • Profile Image
    Jim_R
    Answered 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