adding class nukes field

Home Forums Jquery Validation for Contact Form 7 adding class nukes field

This topic contains 3 replies, has 2 voices, and was last updated by  Dinesh 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5409

    pablo

    hi, trying out your validation plugin, but when i add a class according to your instructions, the field disappears from the form

    [tel your-tel placeholder “PHONE XXX-XXX-XXXX” class:phoneUS]

    i’ve tried different classes (e.g. creditcard) and the same thing happens

    thanks

    #5413

    Dinesh
    Keymaster

    Hi Pablo,

    Seems like you kept the class in field manually, so the field is not working. Please use the contact form 7 field tag generator. From there assign the class as required and it should work fine.

    Actually the class should come before the placeholder text. For example:

    [tel your-tel class:phoneUS placeholder “PHONE XXX-XXX-XXXX”]

    Hope this helps.

    Thanks

    #5429

    pablo

    thank you dinesh. works great.

    #5430

    Dinesh
    Keymaster

    Hi Pablo,

    Glad it is working now.

    🙂

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

The topic ‘adding class nukes field’ is closed to new replies.