TABINDEX and a Couple of Other Form Tricks
Application Security Testing: An Integral Part of DevOps
Lose the VALUE TextYou'll note up above that I have placed text inside the text boxes in the example form. I see this done a lot. You get that text by adding the attribute VALUE="text text text text" to the input tag.
Have you ever been to a form that had text in a box you were supposed to write in? The problem is that you click on the text box and the text remains. You need to highlight and erase all that text before you can put in your own text.
Well, erase no more. Dig this. Click on the text box below...the one with all of the text in it.
<INPUT TYPE="text" VALUE="This is text in a text box" SIZE="45" onFocus="this.value=''">
That's ThatSo, there you go. You've got a few new form tricks to add to your bag. These are solid tricks that actually add usability to your pages. How often can you say that?
IT Solutions Builder TOP IT RESOURCES TO MOVE YOUR BUSINESS FORWARD
Which topic are you interested in?
What is your company size?
What is your job title?
What is your job function?
Searching our resource database to find your matches...