Mark field required based on other fields?

1297
1
02-08-2016 08:29 AM
TerryIffland
Occasional Contributor

I have a form with an explanation field that is text.  It will be optional to enter anything in the field, but I'd like to require the field to be completed if any of the questions in a group are not set to yes.

For example, if any of the following were true:  forms ready, proper uniform, directions available; I want to require the person doing the survey to fill in an explanation.  Otherwise the field will still be available for other comments, but it will not be required.

Is there a way to do this?

Tags (1)
0 Kudos
1 Reply
IsmaelChivite
Esri Notable Contributor

Hi Terry,

I cannot think of a way where you can truly enforce a response sometimes and not others. I attempted to use the Constraint column, but with no success. May be someone else can figure the right way to do it, but in the mean time, I took a simple approach using a note that tells the user when the comment is mandatory. See attached XLSfile.

Capture.PNG

0 Kudos