Friday, January 3, 2014

Indian Passport Number Validation Rule

Create a custom field in your Object with the name PASSPORT NUMBER.
Paste this validation formula in that Object's Validation rule.


Validation Rule Formula:
NOT( REGEX( PASSPORT_NUMBER__c , "(([a-zA-Z]{1})\\d{7})"))

No comments:

Post a Comment