Thursday, November 8, 2012

ADF in-built validation tags (af:validateRegExp)

ADF has several inbuilt validators of which we will see how to use af:validateRegExp in this blog.
af:validateRegExp tag uses Java regular expression syntax and also runs on  the client. 
Though these kind of validations are defined at EO level , there are scenarios where ADF BC is not used.
This solution can be used for such cases.

Below snippet shows email & phone number validation using af:validateRegExp.



Run the page and test .




No comments:

Post a Comment