About EasyMorph Tutorials & Examples Web-help

Regex if not Matched should have option of 'Generate Error'


#1

I am using regex to validate email field.

Under If not matched, can you enable below condition

  1. Generate Error

#2

You can use the error() function in the action settings to generate an error. Note that the field must be in the expression mode:

image

If you need to halt project execution if a regexp didn’t match insert (after “Regular Expression”) the Halt action with the following condition:

iserror([Email])

In this case, the “Regular expression” action will generate an error value (as in the example above), and the Halt action with abort project execution when at least 1 error value exists in the tested column.

image

****moved to #uncategorized