How Validation Works in PhixFlow
Validation can be configured to check data as it is being entered and before completing an Actionflow. This could be from simply checking if a field has been completed, to checking for duplicate records using a lookup to via a
Insert excerpt |
---|
| _action_view |
---|
| _action_view |
---|
nopanel | true |
---|
|
node.
Validation is checked SHOULD THIS BE A BULLET POINT LIST?for the following events:
- When a user submits their data via a form (Default)
- On Blur, which means once
the the field the validation is run. It is checked when - a field
- When an existing record is loaded
. BY DEFAULT it is can also be checked when the user submits their data via a form.Applying Validation
We recommend validation is applied at the table level to attributes as it is then automatically applied everywhere the attribute is used. See Table Attribute Validation.
Validation can also be applied on a screen.
Iframe |
---|
src | https://youtube.com/embed/nI4OrR5fmTE?&rel=0&ytp-pause-overlay=&list=PLbPt6SI1Zhb9JAD6TfD-qGC6vzZXOznvn |
---|
width | 680px |
---|
title | Adding Form Field Validation |
---|
height | 400px |
---|
|
Excerpt |
---|
|
Note |
---|
In PhixFlow 11.1.4+, validations containing invalid regular expressions can be created but the validation tooltip for the associated form field(s) will display an invalid message. |
|
Actionflow Validation Options
Prevent Saving of Invalid Fields
Actionflows can be configured to perform a A validation check is performed before running the Actionflow and will not complete run the Actionflow if the validation check fails. For example, when a user presses the Save button on a form, any validation on the form fields will be triggered, and stop the form being saved with validation errors.
The form will highlight the fields that have failed validation and will not allow the user to proceed until the validation issues have been resolved.
Open the ActionflowIn the Settings above the canvas, toggle on Insert excerpt |
---|
_toggle_on | _toggle_on | nopanel | true |
Validate THIS OPTION IS GOING DONT SHOW IT. ALSO WE SET VALIDATIO BY DEFAULT SO NO NEED TO SHOW HOW TO ENABLE.- Image Removed
Allow Saving of Invalid Fields
Actionflows can be configured to run even if validation errors occur. For example, if a user does not complete all mandatory fields on a form, they can still save their progress and complete the form later.
The form will highlight the fields that have failed validation and will still give the option to save the form.
- Open the Actionflow
- In the Settings above the canvas, click Properties
Image RemovedImage Added - In the Basic Settings, toggle on
Insert excerpt |
---|
| _toggle_on |
---|
| _toggle_on |
---|
nopanel | true |
---|
|
Allow to Run with Validation Errors
Image Modified