Tim said:
I don't know what that sentence means.
17.13.2 Successful controls
A successful control is "valid" for submission.
Every successful control has its control name
paired with its current value as part of the
submitted form data set. A successful control
must be defined within a FORM element and must
have a control name.
However:
. Controls that are disabled cannot be successful
. If a form contains more than one submit button...
http://www.w3.org/TR/html401/interact/forms.html#successful-controls
The form is forbidden from submitting some controls. That does not mean they
do not exist.
The form is a client-side construct. When it is submitted, an HTTP request
is sent. If the form method is POST, the HTTP request is given a POST
method, a Content-Type header of "application/x-www-form-urlencoded", a
Content-Length header and a set of name-value pairs. IIS parses the request
and builds a Request Object, which includes a Form Collection built from the
entirety of the HTTP request. When it sees the POST method, it converts
those name-value pairs into elements of the Request.Form Collection.
So the request and the form are two different things, while the Request
Object is yet a third. The form is not the Form Collection of the Request
Object.
If it's in the Request.Form collection, then it's been sent
by the client, and therefore the user had access to it.
By definition, yes.
If you have data you want to hide from the user entirely,
you have to keep it on the server, in the session object
or a database or something.
But I don't think he was trying to hide the controls from the user. He could
have used a hidden input for that. He may, for example, have a control that
is populated by script, but one that he wants the user to see. In that case,
READONLY is a more useful attribute than DISABLED.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.