Validating a text field
In that case, the form should convey about issue so that user can take the action.
This validation uses the Querysave event of the form that contains the field.
The first method validates a text field in which any text (including a single space character) is an acceptable input.
The second method validates a field in which at least some non-space text is required.
function text Numeric(inputtext, alert Msg) // Function that checks whether input text is an alphabetic character or not.
function input Alphabet(inputtext, alert Msg) // Function that checks whether input text includes alphabetic and numeric characters.