Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Placeholder in Contactform 7 - Wordpress

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.

like image 721
The_Monster Avatar asked Jun 19 '14 14:06

The_Monster


1 Answers

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]"]
like image 139
JorgePinon Avatar answered Oct 27 '22 04:10

JorgePinon