
kind1
Deleted
Feb 17, 2000, 2:57 PM
Post #1 of 2
(211 views)
|
|
passing hidden values with submit - help please
|
Can't Post
|
|
Ok, basically I have a cgi script where the user is interacting by entering info into fields and hitting a submit button, and the action is that it is posting to itself. The page content changes depending on what is entered into what fields. Is there a way to submit additional information that the user wont be able to see? For example, there is a place you can look up stock quotes with just one field for the ticker. When the user hits submit, the value in the field will submit, but can I also submit other values (independent of the stock ticker value) that are totally invisible to the user? The problem is cgi scripts apparently initialize all the variable values to "" each time a script submits to itself, and I need to keep a couple variables within the script (accountid and nickname) so I need to be able to transparently resubmit those. Is this possible, and if so, how? or perhaps a different method that can accomplish the same thing - which is keeping variable values constant when a script submits to itself. Thanks a lot - kind1
|