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

Popular posts from this blog

How to save a Page List into data type, Pega Tutorials

Step by step How to create a SOAP Connector in pega

Pega For Beginners - How to create your first application in pega in 5 minutes