Hidden CGI fields in HTML
Ian Clarke
I.Clarke at NOSPAM.strs.co.uk
Thu Aug 5 04:44:10 EDT 1999
Hi,
I am using CGI with Python and am trying to find a way that I can
generate the HTML for a form such that one of the INPUT controls will
have a fixed value (set when the page is generated by a previous CGI
script), that CANNOT be edited by the user (or prefereably not even
seen) - but will be passed to the next CGI script.
I am aware that there are "readonly" and "disabled" tags for INPUT
controls defined in the HTML 4 spec, and even a style="display:none"
attribute should work in theory, but none of these seem to work with
Netscape. The readonly and disabled tags have no obvious effect, and
while setting the style to "display:none" does stop it being displayed,
it also stops the parameter being passed in the form!
Has anyone actually achieved this seemingly simple task?
Cheers,
Ian.
--
Remove the "NOSPAM." from my email address before replying.
More information about the Python-list
mailing list