init()
method.symbol={{fields.symbol}}
and separator=,
init()
method is invoked.
Example:
init()
method.Parameter | Description |
---|---|
id | String. The ID of the hidden field. |
value | String. The value of the hidden field. |
getNode() | true
Returns the root HTML element of the field.getValue()
Returns the field value.setRequired(boolean)
Sets or unsets the field as required.Parameter | Description |
---|---|
id | String . The ID field value. |
setRequired()
only sets or unsets the field as required on the client-side. For example, if you unset a field as required, but it was marked as required in your field settings, the form will return an error if the field has no value.