How to use conditionally required fields

  • Profile Image
    mhousenc
    Asked on March 02, 2018 at 10:15 AM

    I have developed a form that has an option box.  The option box directs the user to the sections they must fill out. When the option box is chosen for one area it skips to their section and if you choose another option it skips to a their section.

    How can I make it the questions required for both sections with out the form not letting them submit.

    IE: if the user is a school employee they have to complete a certain section, if they are not this section will remain blank.  If I make the questions required in this school section the non-school users will not be able to finish the form and submit - an vise versa...

    Thanks for your help.

    Suzanne Smith

  • Profile Image
    aubreybourke
    Answered on March 02, 2018 at 11:42 AM

    How can I make it the questions required for both sections with out the form not letting them submit.

    IE: if the user is a school employee they have to complete a certain section, if they are not this section will remain blank. If I make the questions required in this school section the non-school users will not be able to finish the form and submit - an vise versa...

    The answer is to make a field conditionally required.

    For example, if the Type of employee is a "School employee" then require multiple fields in the School Employee Section.

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

    Note that when you setup the require condition you don't have to provide a condition to unrequire your School Employee Section. If they uncheck the "School employee" field it will automatically unrequire your fields.

    Hope that helps!