Namespace: fieldsetSettings

fieldsetSettings

These properties and methods will affect the fields settings.

This is configured in settings.fieldsets array property.

Important: one field can be affected by more than one fieldset so if you set two fieldsets that match the same field, it will have the configuration of both of them, being priority the last one.

Members


<static> autostart :Boolean

Default fieldSettings.autostart value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> disabled :Boolean

Default fieldSettings.disabled value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> fields :RegExp|String|Array

The fields this fieldset covers. This is required.

This can be a RegExp to match against the fields names, a string that is the starting string of fields names or an array with the names of the fields.

Type:
  • RegExp | String | Array

<static> firstValidationEvent :Boolean

Default fieldSettings.firstValidationEvent value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> intern :Boolean

Default fieldSettings.intern value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> name :String

Fieldset name. This will be used to identify this fieldset and it is required.

Type:
  • String

<static> onlyIf :Boolean

Middleware fieldSettings.onlyIf value in fieldset. This function will be used in the fields to determine if they will be validated or not.

Type:
  • Boolean
Default Value:
  • false

<static> onlyUI :Boolean

Default fieldSettings.onlyUI value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> required :Boolean

Default fieldSettings.required value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> validationEvents :Boolean

Default fieldSettings.validationEvents value in fieldset.

Type:
  • Boolean
Default Value:
  • false

<static> validators :Boolean

Extends fieldSettings.validators value in fieldset so all fields that this fieldset covers will extend their validators with this object.

Type:
  • Boolean
Default Value:
  • false