Support » Plugin: Real Time Validation for Gravity Forms » RegEx pattern for alphanumeric or numeric entry

  • Andre

    (@picturebreeze)


    Hello, great plugin.
    However, i can’t figure out a RegEx pattern for a GF form field that may not accept letters only (it’s a passport number field). It must have at least one number digit, it can also have all numbers. But it can’t have all letters.

    Examples:
    X12345678 – valid
    ABCDEFGH4 – valid
    123456789 – valid
    ABCDEFGHJ – invalid -> validation error message

    Can anybody help?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘RegEx pattern for alphanumeric or numeric entry’ is closed to new replies.