You can do this like for If you want this for Phone option.
On the form edit page go to the field you have for Phone and add a “Default value:” (xxx)xxx-xxxx
Next, add this to the “Attributes:”
onfocus=”if(this.value=='(xxx)xxx-xxxx’)this.value=”;”onblur=”if(this.value==”)this.value='(xxx)xxx-xxxx’;”
Thanks
This very much looks like the fallback for browsers that don’t support HTML5. Besides, I could only use this trick on extra fields, not the standard ones. So this is not really what I’m after.
Thanks anyway!
Basically there is not any other solution for this issue. This is the only solution or you have to use manually jquery code in theme’s template file.
Thanks
That’s a pity. Lots of thanks for your time and effort, anyway. Take care!