Posted by payamspot on June 9, 2012 at 11:34am
Hi,
How can I change the placeholders (initial values) of Username & Password inputs in the User Login block of my site? I want the value of the inputs to be "username" and "password" until the user types his/her username and password.
I know I should add some code to my theme's template.php, but I don't know what it should be.
Comments
One approach would be to use
One approach would be to use the Compact forms module
A better solution, thank you
A better solution, thank you so much.
take a look at this
This also help
http://stackoverflow.com/questions/9830736/how-to-set-a-placeholder-in-d...
Thanks, but where am I
Thanks, but where am I supposed to put that code? I put it in template.php of my theme, and it didn't work!