|
Posted by Jukka K. Korpela on 11/14/07 23:59
Scripsit SirG:
> Is there a way to submit a disabled text box?
By definition, disabled means it won't be included in the form data, i.e.
won't be submitted. So why do make it disabled and then ask how to get it
submitted?
(There are ways to have it included it in form data via JavaScript, but they
more or less mean that it is taken away from the disabled state.)
> I'm wanting to use a disabled text box to submit use picked date
> information that is selected using a date picker script, but I do not
> want the users to have the ability to modify the date outside of the
> script.
I wonder what you are really doing. You cannot prevent users from modifying
the data, or submitting whatever data they want; you can just try to cope
with it and to discard malformed data.
As usual, a URL would...
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|