FormFieldValidations
Last updated
Last updated
FormFieldValidations are related to FormFields and describe how input fields should be validated when a User enters information or submits the Form.
How a field should be validated is determined by it's FormFieldValidationType associated by thw key
and the config
.
Alias
formFieldValidation
Relations
Relation | Key | Type | Relation Field(s) |
---|---|---|---|
Computed Properties
validation_string
- The resulting validation string from the configuration
Create a new FormFieldValidation
.
Definition
POST
/api/administration/forms/fields/validations
Request Keys
Keys with *
are required.
Example Request
Example Response
Update an existing FormFieldValidation
by id
.
Definition
PUT
/api/administration/forms/fields/validations/{id}
Request Keys
Example Request
Example Response
Delete an existing FormFieldValidation
by id
.
Definition
DELETE
/api/administration/forms/fields/validations/{id}
Example Request
Example Response
Key | Type | Default | Description |
---|---|---|---|
Key | Type | Description |
---|---|---|
formField
Belongs to
form_field_id
formFieldValidationType
Belongs to
form_field_validation_type_id
form_field_id
*
integer
-
The related FormField
form_field_validation_type_id
*
integer
-
The related FormFieldValidationTyp
config
json
Default FormFieldValidationTyp config
The scheme how the data has to be stored to pass the validation
form_field_id
integer
The related FormField
form_field_validation_type_id
integer
The related FormFieldValidationTyp
config
json
The scheme how the data has to be stored to pass the validation