The following client-side JavaScript, attached to a text field exit event, will validate the characters a-z (ignoring case).
// form1.page1.subform1.firstName::exit - (JavaScript, client)
var regExp = /[^a-z]/i;
if (regExp.test(this.rawValue)) {
xfa.host.messageBox("First name can contain the characters a-z, only.");
}
Steve