The Pega 7 Platform contains more than 60 standard edit validate rules. You can use these as is in your application, or copy them and tailor them for your needs. The table describes a few of them.
Name |
Description |
DoesClassExist | Checks whether a text string identifies a Pega 7 Platformclass. |
FileName | Checks whether a text string is a valid Windows file name. |
FileType | Checks whether a text string is a valid Windows file type. |
InternationalPhone | Validates the format of an international phone number. See PDN article 25416 How to add automatic field formatting to input fields. |
IsNonNegative | Checks whether a value is greater than or equal to zero. |
NotFutureDate | Expects a string in theValue in the format YYYYMMDD. This rule returns true if that date is today's date or a past date, or false if the date is a future date or not in the expected format. |
pyMinimumLength-Enforce | When applied to the value of a property that is associated with the pyMinimumLength property qualifier, compares the actual length of the value to the minimum and returns false (with a message) if the value is too short. |
SSN | Validates the format of a U.S. Social Security Number. See PDN article 25416 How to add automatic field formatting to input fields. |
TIN | Validates the format of a U.S. Taxpayer Identification Number. See PDN article 25416 How to add automatic field formatting to input fields. |
Use the Records Explorer to see a complete list of the edit validate rules available to you.