Have the ability to make a field required from a previous required field | Community
Skip to main content
New Participant
October 4, 2023
New

Have the ability to make a field required from a previous required field

  • October 4, 2023
  • 1 reply
  • 314 views

We have a required field call "Is this request Mandated" and it is a required field with a "Yes/No" option. Below that we have another field call "Mandated Date Required Field". This field is not required as if they select "No" we don't want them to be required to put in a date.

What we are looking for is if "Is this request Mandated", (which is required) is selected to Yes, then the next field "Mandated Date Required Field" is then a required field. 

1 reply

Madalyn_Destafney
New Participant
October 4, 2023

Hi, you can handle this in the form's display logic. 
You have 'Is this request mandated' as a required question. 

You have your separate form field, 'mandated date required field' - on that field, you add display logic to only show this field if 'yes' is selected to the first question. You can choose to have this field required just like the question before it.

If this helped you, please mark correct to help others : )