Hides the required markup of a field.
Note that this function does not change the field's validation or required state, it only hides the existing marker next to the label. You will need to write an accompanying validation function to change the field's requiredness
Executed
Client-side
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field that should have it's required marker hidden |
Example
This example will hide the required marker of FIELD9.
function(helper) {
helper.hideFieldRequired('FIELD9');
}
Last modified on September 13, 2023