Placeholder being parsed as value
-
My code in Contact form 7 is this
[email* email-812 placeholder="Email Address..."]
but when displaying on front end the placeholder is set to ‘value’
<input type="email" name="email-812" value="Email Address..." size="40" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email form-control" aria-required="true" aria-invalid="false">
When used as value this does not remove the content of the input field when clicking on it to enter text. Therefore is not behaving as placeholder should.
Please advise!
- The topic ‘Placeholder being parsed as value’ is closed to new replies.