By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,190 Members | 1,063 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,190 IT Pros & Developers. It's quick & easy.

CSS forms?

P: n/a
Hi everyone...Hope you can help me...

I have quiet a few forms to create soon and Iam not totaly up on
them...
What I would link to to do is instead of having the <lablethen the
<input>
is just have the form field with the instructions in side eg:
[__Enter Your First Name Here_____]
and when the user click in the filed the text disapears.

I know this can be done with javascript and the ecomerce site I am
doing needs to have javascript switched on

But what do I do with the lable field?
and what impact does the senarion have on accessability?

Cheers
Silkster

Oct 30 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Silkster wrote:
>
What I would link to to do is instead of having the <lablethen the
<input>
is just have the form field with the instructions in side eg:
[__Enter Your First Name Here_____]
I've come across forms set up like this before. Usability-wise, I think
it is not a good idea. The problem is that if the field is cleared
(accidentally or otherwise), there is nothing left on the page to tell
the user what that field is for. All you need is one distraction to take
your attention away from filling in the form, and the clue is gone. How
does the user get it back? Reload the page? Yuck. Submit it and hope
it's flagged as an error? Yuck again.

Keep the label separate and there is no problem.

--
Berg
Oct 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.