• Resolved rgrauphics

    (@rgrauphics)


    We are having a number of submission where the client is not filling out the phone number completely.

    How can I validate the “field” is 10 digits. If the client enters in the wrong number nothing we can do about but what about the number of digits entered?

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    You’d add a custom validation hook, filter out all non numeric characters then count the string length.

    If 10, return valid. If not, return invalid.

    Custom validation hooks are covered in the readme.

Viewing 1 replies (of 1 total)
  • The topic ‘Verify 10 Digits in Phone # Field’ is closed to new replies.