Forum Moderators: open

Message Too Old, No Replies

forms question: pre-filled text that vanishes on a click

         

cdnmama

3:05 am on Jan 13, 2004 (gmt 0)

10+ Year Member



I have a question about forms I'm hoping someone might be able to help me with. On some forms you see a word already in the field and the word will disappear when clicked. Then you can enter your info and not have to backspace the word off, or delete it. Does someone know what to add/remove from this line to do that....

<input type="text" size="25" name="name" value="name" class="input" maxlength="15">

Thanks for any help :)

Deb

tedster

3:23 am on Jan 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, cdnmama.

This recent thread addresses the issue pretty well:

[webmasterworld.com...]

cdnmama

3:55 am on Jan 13, 2004 (gmt 0)

10+ Year Member



Thanks tedster, that helped a lot! Got the form fields working the way I want now :)

Deb