FormFieldValidations
Introduction
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
.
Model Definition
Alias
formFieldValidation
Relations
formField
Belongs to
form_field_id
formFieldValidationType
Belongs to
form_field_validation_type_id
Computed Properties
validation_string
- The resulting validation string from the configuration
[Adm.] Create
Create a new FormFieldValidation
.
Definition
POST
/api/administration/forms/fields/validations
Request Keys
form_field_id
*
integer
-
form_field_validation_type_id
*
integer
-
config
json
The scheme how the data has to be stored to pass the validation
Keys with *
are required.
Example Request
Example Response
[Adm.] Update
Update an existing FormFieldValidation
by id
.
Definition
PUT
/api/administration/forms/fields/validations/{id}
Request Keys
form_field_id
integer
form_field_validation_type_id
integer
config
json
The scheme how the data has to be stored to pass the validation
Example Request
Example Response
[Adm.] Delete
Delete an existing FormFieldValidation
by id
.
Definition
DELETE
/api/administration/forms/fields/validations/{id}
Example Request
Example Response
Last updated