The form I am creating requires that the titles for each text box be inside the text box rather than on top of it. I know that placeholder text isn’t the best choice when it comes to user experience with forms (for various reasons), but my design calls for it. I know you can place values inside the text boxes, but that isn’t what I’m looking for. Placeholder text is a little different than value text because placeholder text disappears once the user starts typing and the user doesn’t need to highlight the text and delete it like with value text. Is there a way to add
placeholder="name"into the name text box so the code reads
<input type="text" name="your-name" value="" placeholder="name" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" size="40">
with out having to go into the php files? And if I have to edit the php, what file would I need to go into and what code would I have to edit or add?
Thanks in advance for any help! And, btw, thanks for making the plugin, it’s awesome! Just this one little option would make it perfect!
- The topic ‘How do I use placeholder text with Contact Form 7?’ is closed to new replies.