Text box value

T

TLowe

Hello
Will the text box default value always yield a value? When evaluating each
form item, text boxes are evaluated as having a count even though its the
blank default value with nothing entered. The same is not true for other
elements like a check box. They show a count of none if they are not
checked.

Just curious thanks!


response.write "<INPUT type=text value='' size=30 NAME=test></TD> "
 
S

Steven Burn

response.write "<INPUT type=text value='' size=30 NAME=test></TD> "

Should be;

response.write "<INPUT type=""text"" value="""'' size=""30""
NAME=""test""></TD> "

or

response.write "<INPUT type=""text"" value='' & " size=""30""
NAME=""test""></TD> "

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
 
L

Lord Merlin

Well, you don't need to add the value section at all.
What's nice about it though, is that you could have it display dynamic info:

<INPUT TYPE="textbox" VALUE="<%=response.write("full_name")%> LENGTH="30"
NAME="name">

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
: Hello
: Will the text box default value always yield a value? When evaluating
each
: form item, text boxes are evaluated as having a count even though its the
: blank default value with nothing entered. The same is not true for other
: elements like a check box. They show a count of none if they are not
: checked.
:
: Just curious thanks!
:
:
: response.write "<INPUT type=text value='' size=30 NAME=test></TD> "
:
:
 

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

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top