Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disabled form objects

Status
Not open for further replies.

secretsquirrel

Programmer
Mar 22, 2001
202
0
0
GB
hi guys,

i have a form which contains a disabled field.

when the form is submitted, will the disabled field submit a value or will it simply be ignored?

if it doesn't automatically submit a value, is there anyway it can be forced to?

or will i have to use a hidden field?

thanks in advance...

ss
 
A disabled field will not submit a value.

If it's a text field, you can use READONLY. This will keep the field from being edited but will still submit a value:

<INPUT NAME=&quot;Name&quot; VALUE=&quot;12345&quot; READONLY>

Double check this, though. I'm not sure how this works with Netscape.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top