IsAlpha

All validation programs

Checks a value and takes action if it consists entirely of letters of the alphabet (A-Z and a-z only). 

Format of Parameters

Value (IfTrueAction) (IfFalseAction)

Where:

Value The value being checked. This can be a variable, Current_Element, or a literal in double quotes.
IfTrueAction

An action to be executed if the value contains all letters. Required if you are specifying an IfFalseAction. To do nothing if false, use this:

(BusinessRules.Utilities DoNothing)

IfFalseAction Optional. An action to be executed if the value contains something other than letters.

Example. This rule checks to see if the current element is alphabetic. If so, it checks to see that it conforms to the NationalProviderID format and displays a message if it does not. If it is not alphanumeric, it displays error number 30110.