Validating data against a pattern
Edit validate rules:
Edit validate rules help us obtain the requested information in the correct format. For example, you request the SSN and you need that information in the following pattern ####-####-####, so you use an edit validate rule to ensure that the user is entering the information in the correct pattern.
This configuration we made at the property level, on the advanced tab, we can define the edit validate rule for that property
Pega already has edit validate rules OOTB, but in the case that you need to customize a pattern, you can do it using a Java function to create the pattern and the validation message when the pattern is not met.
How to configure edit validate rules:
In this video i explain step by step how to configure an edit validate rule in a porperty
Comments
Post a Comment