M
Martin
I have a form with several text boxes (<INPUT type="text">) and a
"submit" button. I would like to display one of the text boxes as
"disabled" (dimmed but readable) and yet have that text box submitted
back to the server when the submit button is clicked. How can I make
this happen?
I've tried setting type="hidden" but that didn't get submitted.
I've tried type="text" style="display:none" but that didn't submit
either.
I've tried type="text" disabled="disabled". This gives the appearance
I want but it doesn't get submitted either.
I've tried type="text" readonly="true". That gets submitted but I
don't like the display (it's not obvious that it's read-only).
"submit" button. I would like to display one of the text boxes as
"disabled" (dimmed but readable) and yet have that text box submitted
back to the server when the submit button is clicked. How can I make
this happen?
I've tried setting type="hidden" but that didn't get submitted.
I've tried type="text" style="display:none" but that didn't submit
either.
I've tried type="text" disabled="disabled". This gives the appearance
I want but it doesn't get submitted either.
I've tried type="text" readonly="true". That gets submitted but I
don't like the display (it's not obvious that it's read-only).