[Plugin: Contact Form 7] erase fields onFocus > validation problems
-
Hi.
For design reasons i have to put the field descriptions (Your Name, Your Mail etc.) inside the fields with values.
Then i included some JS into the plugin.php where the html output is generated, to kill the value on focus. To that point – everything works fine.But now validation for standard required textfields does not work properly since it only checks if there’s an value. And because there are values by default – no error message pops out. Know what i mean?
Can someone provide me with the code to fix that?
It’s unfortunately far beyond my php knowledge.🙂
Btw. This would be a very nice feature for future versions. I think many people would enjoy to have that option.
Thanks and bests,
m.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: Contact Form 7] erase fields onFocus > validation problems’ is closed to new replies.