[Plugin: Contact Form 7] cannot validate required custom fields
-
I have created a barebone contact form through the admin panel.
But there are cases that I create and add to the form my own custom text fields (through jQuery) based on whether the user is logged in in my website or not.The custom fields are generated correctly and their values posted fine when I click on the submit button. I have also added the class “wpcf7-validates-as-required” which is supposed to enforce them to be validated with some kind of value before the message is sent. The other fields which I generated through the admin panel do not have a problem with that and are correctly validated but my custom fields are posted even with null values…
Any idea?
P.S.
Contact Form 7, version 3.2.1
- The topic ‘[Plugin: Contact Form 7] cannot validate required custom fields’ is closed to new replies.