Required field - making it optional

882
1
Jump to solution
06-21-2021 05:07 AM
by Anonymous User
Not applicable

I have a field which is required but I need to set it to be optional. At the moment, Date Changed requires a value but I need it to be optional. Is this doable? 

NovicaJ_0-1624277444009.png

 

0 Kudos
1 Solution

Accepted Solutions
Marten
by
Occasional Contributor

yes, this is possible. you can control optionality and multiplicity using minOccurs and maxOccurs data-dojo-props. To make a field optional: go to the template file for this element and set the data-dojo-props to include: minOccurs:0. If you want to allow many values, set maxOccurs:'unbounded'. To require one and only one value, set minOccurs:1,maxOccurs:1. etc.

View solution in original post

0 Kudos
1 Reply
Marten
by
Occasional Contributor

yes, this is possible. you can control optionality and multiplicity using minOccurs and maxOccurs data-dojo-props. To make a field optional: go to the template file for this element and set the data-dojo-props to include: minOccurs:0. If you want to allow many values, set maxOccurs:'unbounded'. To require one and only one value, set minOccurs:1,maxOccurs:1. etc.

0 Kudos