Form DATA Entry

R

Rick@CDC

I currently use a form on my web page and in order to save space, I have no
description fields. I used the "initial value" option under the form field
properties to describe the information I wanted. I have seen other pages do
this so I believe this can be done. I would like the field to clear the
current contents when the user clicks or tabs to the field. In other words
the "initial value" text
would be cleared and they would be able to immediately begin entering
desired information without having to delete the "initial value" text (as
defined in the form field properties). I would appreciate any suggestions or
help.
Thank You and have a Blessed Day.

Rick Hall
Christian Debt Consultants.
 
K

Kevin Spencer

<input type="Text" size="20" name="T1" value="Initial Value"
onfocus="this.select()">

This doesn't delete the initial value, but selects it. The difference is
that if the user want the initial value, he doesn't have to retype it. But
if he starts typing with the value selected, it will clear the value.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top