While entering number in name input it should show the validation before on click of save button

0
 Now it is showing after clicking the save button i created regular expression for that validation rule .
asked
1 answers
1

To achieve this you need to:

 

  • Create a microflow to validate the fields.
  • Add this microflow as an event to the inputs you want to validate. Depending on when you want to perform the validation you may choose between "On Change", "On Enter" or "On Leave".

image.png

 

 

  • Don't forget to set the "Abort on validation errors" to No, since you want this flow to be executed even if there are validation errors.

 

image.png

 

  • Then, on the validation microflow, you check for the conditions you want to validate (eg: $field != empty or, is your case, regular expression rule) and if the conditions fail, you add a validation feedback activity. Something like this:

 

image.png

 

Hope this helps.

answered