predefine variables on HTML load
Posted on 1998-11-16
How can I assign a value to a variable, that can be used in a cgi script without having the user to define it from within a HTML page ?
in other words:
1. HTML page is loaded
2. a variable "CHOICE" is predefined with the value "GREEN"
3. this variable "CHOICE" can now be analysed in a cgi script
for the moment I do the following:
<INPUT Type=RADIO NAME="choice" Value="green">
I DON'T WANT THE RADIOBUTTON TO APPEAR(!) SO THE USER CANNOT ACCESS THIS VARIABLE !
I just want the variable "CHOICE" to be defined with "green"
Thx a lot
PLEASE DO NOT POST ANY ANSWERS UNLESS I ADVICE SOMEONE TO DO SO !!!