March 10, 2016 at 6:58 pm #5409
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
thanksMarch 11, 2016 at 3:52 pm #5413
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.
ThanksMarch 14, 2016 at 9:30 pm #5429
thank you dinesh. works great.March 15, 2016 at 4:19 am #5430
Glad it is working now.
The topic ‘adding class nukes field’ is closed to new replies.