Alt Attribute & Placeholders
-
Hello,
I created a contact form which uses alt attributes as field information initially, once the user enters information into a field it swaps with the placeholder value.
A sample of this is like so:
<div> <input type="text" id="contact-name" name="sender" required /> <label alt='Your Name' placeholder='That is a nice name!' for="contact-name"></label> </div>
I understand there is placeholder implementation already for Contact Form 7, this works as intended but it does not work for how my form is developed. Is there any way to add alt text into the label so it behaves how I have the original html markup?
Currently my form ca be seen here, I would like to basically transplant this form into Contact Form 7 as-is.
- The topic ‘Alt Attribute & Placeholders’ is closed to new replies.