Is it possible to turn localityname in a non mandatory field? Indeed, there are various cases where it makes sense that this field remains empty but as it can’t be, we have to create internal rule such as put “n/a” when it’s not available. Leaving it blank would be much easier.
localityName is a required and indexed field on the Locality table in the schema. Required fields in the Specify schema cannot be changed in Schema Config and must have an entry on each Locality record. This field is the identifier for the table and is the primary field for searching in the Locality query combo box. If it is common and crucial that this field is empty for your collection’s practices, you can add a default value for this field in the form definition. To fill the localityName field with “n/a” on new records by default, the form definition would be: