Posted: 19 Jun 2015 8:58 EDT Last activity: 2 Aug 2017 8:28 EDT
Property - Advanced - "Use Validate" not firing the edit validate rule on tabbing out
We are using Pega V7.1.7, we are trying to create Edit Validate rules and fire them onblur of the screen even ( User tabs out from the specififc field) "Use Validate" in the Property - Rule Form in the Advanced tab, they are no firing at run time.
If i use any Procom Rulesets edit validates then they are firing perfectly alright (ex: USPhone)
Did anybody faced the same issue, is there something i am missing here.
Edit Validate rules are fired when you use the propery validate method in an activity.
The way other validate rules of Procom work is because there are corresponding Java script functions which does the same validation at client side are shipped OOTB by pega in a js file called pega_validators. EX: ValidPhoneNumber.
This is a problem with lots of pega documentation where pega represent Edit-Validate rule as a validation rule which works on client side which is wrong. Some of the OOTB edit validate rules work in client side as they have related js code present.
Either pega should generate the js code automatically when new edit-validate rule gets created or should not market it as a rule which does client side validation.