PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Make field required/not based on visibility

  1. Trisha

    I'm not sure if this is a bug-fix or a feature request, but if it's not a bug then I'd like to request an addition to a future update:

    It would be nice if a field that is shown or hidden based on user input from a prior field can be made required only if it's shown.

    For example, if I have a radio that offers a choice of "hard copy only" or "hard copy plus digital download", and if " digital download" is selected then a drop-down that lists the digital formats is shown, and I'd like for the drop-down to be required.

    As it is now, it works ....sort of..... if I make the drop-down required but the user leaves the radio choice at the default of "hard copy only", the drop-down neither shows nor causes the form to return an error, and if they change the default radio choice to " digital download" then it is shown and does return an error if they don't make a choice from the drop-down.

    However, the problem is if they change their choice BACK to "hard copy only".....THEN the drop-down is not shown, but it's still required and the form will return the error.....even though the drop-down is not visible.

    I hope this makes sense and that you can help with this.....


    Posted 10 years ago on Monday September 5, 2011 | Permalink
  2. I second this request.

    Posted 10 years ago on Friday September 16, 2011 | Permalink
  3. Third

    Posted 10 years ago on Friday September 16, 2011 | Permalink
  4. If a required field is hidden by conditional logic it should not trigger validation.

    I just created a test form, added two drop down fields. I made the 2nd drop down field requires and used conditional logic to only show it if a specific option in the 1st drop down is selected. The functionality is working as expected in my tests. I can submit the form with the required field hidden and it works as intended.

    In my tests I can select an option in the first drop down that then shows the 2nd drop down, and then change it back to hide the 2nd drop down and the form still submits fine. Even with the 2nd drop down set to required.

    Fields hidden by conditional logic are ignored as far as the form processing goes.

    If you can post a link to a form where this is happening i'd be glad to take a look.

    Posted 10 years ago on Friday September 16, 2011 | Permalink
  5. Trisha

    Thanks Carl - you are correct.

    This is odd, because I tested it extensively and couldn't get it to work, but yet somehow now it is working the way it should....user error obviously. Sigh.

    Posted 10 years ago on Tuesday September 20, 2011 | Permalink

This topic has been resolved and has been closed to new replies.