Enabling Custom Validation for Patterns in Formio Builder
Description:
This feature aims to enhance Formio Builder by enabling users to apply custom validation patterns to specific form fields, such as mobile numbers, email addresses, or any other required formats. The pattern option will be rendered in the Formio Builder UI, allowing users to define and enforce their desired validation rules easily.
Implementation Steps:
Enable the pattern option toggle switch within the Formio Builder UI for each applicable form field.
Capture the custom validation pattern entered by the user when the pattern option is enabled and store the user-defined pattern within configuration of the corresponding form field.
Extend the JSON schema logic to include the pattern information by adding a new property in the JSON schema to hold the pattern information for applicable form fields.
Display appropriate error messages to users if validation fails, indicating the specific pattern requirement for each field.
Enabling Custom Validation for Patterns in Formio Builder
Description: This feature aims to enhance Formio Builder by enabling users to apply custom validation patterns to specific form fields, such as mobile numbers, email addresses, or any other required formats. The pattern option will be rendered in the Formio Builder UI, allowing users to define and enforce their desired validation rules easily.
Implementation Steps: