I have an input validation issue that any help you could offer would be appreciated. Basically I have to make sure a field has 12 characters in length, with numbers only, no alpha characters. I know how to only contain alpha characters, but not the other way around. Thanks for any help you can offer.
Subject: Input Validation Question
Have a look at @Matches.
BTW - how are you doing the ‘alpha only’ check?
Subject: RE: Input Validation Question
Thanks for the suggestion. As far as the alpha only checks, I would do something like @contains(a-Z, A-z).
Subject: Input Validation Question
you can try this:
@If(@Matches(@Text(FieldName);“+{0-9}”) & @Length(FieldName) = 12; @Success; @Failure(“Value must contain 12 characters in length, with numbers only.”))
Good luck!