Click to See Complete Forum and Search --> : Disabled text not passing into form


mark_and_co
07-08-2003, 02:27 PM
Hey,

I have a form which on some fields would lock once the user has chosen a selection. This is done with Javascript using text.value.disabled = true to stop users changing the field later.

The problem is when the submit button is pressed all the fields that are disabled do not get passed through the form.

Is there anyway round this??

Cheers

Jona
07-08-2003, 03:15 PM
Unless this thread was moved from the HTML forum, it's a cross-post; and cross-posting is not appreciated here. Please don't do it again. (Note: if the thread was moved, please ignore my paragraph.)

As for your question, you may want to use readonly instead of disabled, or re-enable it as soon as the form is subitted.

[J]ona