How do I disable/hide a mandatory field?

S

Sierra

I have a form where dependent on selections, fields hide og show. Some of the
fields I want to be mandatory if they show. If they don't show I don't want
to get an error message that some fields are not filled in. It does not work
to put the field as mandatory and use conditional formatting to hide the
field, when it should not be used. Does anyone have a solution to this?
 
C

Clay Fox

Typically you would remove the default cannot be blank. Add logic on your
submit that validates the field if it is visible. (whatever the conditions
are to make it visible) You can also have code that can make a field
mandatory via logic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top