I am making a website for a client of me but im running into a problem. I've made a contact form in wordpress using Contact Form 7. This plugin is really easy to use but when i wanted to use the placeholder property of the plugin it did not show the placeholder when i loaded the page.
This is how i set the placeholder in Contactform 7
[text* your-name placeholder "Name"]
The placeholder tag works just fine for my textarea but it doesnt work with the textbox above. Can someone explain to me what i am doeing wrong here?
EDIT
When i inspect the element with Google Chrome and inspect the textbox it says that it has a placeholder. But it doesnt show the placeholder.
If anyone is having trouble with this, it could be that you're using class: or id: attributes.
It worked for me when I added placeholder after all those:
[email* your-email id:your-email class:form-control placeholder "ex. [email protected]"]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With