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?
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.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.