Avatar

Correct answer by
Level 10

Hi,

should work this way:

if (!this.rawValue.match(/^([0-9]{10}|[0-9]{5})\b/g)) {

          xfa.host.messageBox("You must enter the Designer's 5 digit PAX or 10 digit phone number.");

}

View solution in original post