Validate Name Field

Home Forums Jquery Validation for Contact Form 7 Validate Name Field

This topic contains 1 reply, has 2 voices, and was last updated by  Dinesh 7 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6247

    Enitan Bello

    Hello Dinesh. Trust you are doing great? What do i do if i want users to enter a valid name? For example if a user enters 1234 as their name or Dinesh1234, i want an error message that says please enter a valid name. Please note that this is not a username field. just name.
    I will be waiting to hear from you

    #6249

    Dinesh
    Keymaster

    Hi Enitan,

    For that you can use letter only rule.

    Letters Only : When you need to validate alphabets only.
    Use class lettersonly. Validates: abcdefghijkl

    More details : https://dnesscarkey.com/jquery-validation/validation-methods/

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Validate Name Field’ is closed to new replies.