- Can a mandatory field have default value?
- Would it make sense to specify a default value for a required webform field?
- Can we hide mandatory field in Servicenow?
Can a mandatory field have default value?
Required fields must be populated for all instances of actions. For example, the Found by field is required and does not have a default value. When multiple reported by records are created for a single issue, the Found by field must be populated for all records.
Would it make sense to specify a default value for a required webform field?
In general, it doesn't make sense, unless: It is possible to reject the default value, and return an empty value instead. Adding the mandatory mark has security or other benefits.
Can we hide mandatory field in Servicenow?
Mandatory fields can be hidden using client scripts, therefore the mandatory flag should be unset in the same script.