clearSyntaxProperties()
Restores the initial values of a field's syntax properties.
FieldObject.clearSyntaxProperties()
Arguments
None
Description
The initial values of a DSP field's widget properties can be set in the Define (Component) Field Properties dialog, or they can be set in Proc using $fieldsyntax. The can be retrieved in JavaScript using the getDeclarativeSyntax function.
Once the DSP is loaded, the values of these properties can be dynamically changed in the browser using the setSyntaxProperty and setSyntaxProperties API functions.
You can use the clearSyntaxProperties function to reset the field's syntax properties to their initial values.