the placeholder text that says ‘Enter your e-mail:’ of my e-mail input field stays on click and you need to manually delete it to enter your e-mail. I need it to behave like a normal placeholder text – on click to overwrite it without having to manually delete it.
Hi, probably it’s not a placeholder and you’re using a custom form (maybe provided by the theme). If you can edit the HTML, likely you’ll find the value attribute set, for example:
value=”placeholder text”
while the placeholder attribute should be used:
placeholder=”placeholder text”
if you share the URL of the page where the form is visible I can check it.
Yes, it is value = ‘Enter your E-mail’. If I change ‘value’ to ‘placeholder’ it works fine but I can’t find the code in the Newsletter plugin. I spent hours of searching and I could not find the exact file…
<input class=”tnp-email” type=”email” name=”ne” id=”tnp-3″ value=”Enter your e-mail:” required=””>
This is the code wqhen I inspect the element with Chrome. When I change ‘value’ to placeholder in the Chrome editor it works out fine, but I need to hard code it in my plugin.