but how about I have button for proceed and it can only go forward to the next page when the proceed button is pressed. How should I add that funtion to the button then?
the button should contain a link to the next page containing the variable…for example:
have your main index…
index.htm contain a form with the radio buttons and a “proceed” or “submit” button:
the radio button would be assigned variable name “choice”
all of them having the same name, each with a different value…
like under their properties:
Button#1
name: Choice
value: 1
Button#2
name:Choice
value: 2
You would set up your form to use the “post” method. Then you would have it link to say for example:“http://www.choices.com/choice.asp”
When that proceed button is pressed, it sends the variable from the radio buttons automatically to the “choice.asp” file.
The choice.asp file contains all of the processing “if then” statements.
So in this fashion, you have a start page that contains a form with radio buttons and a proceed button.
Each radio button has the same “name” but a different “value.”
The form is using the post command to point to the processing page.
The processing page contains all of the processing rules(the if then stuff)
Let me know if you need anything else!
So you don’t have to assign a “function” to it. Just make sure that its link contains the variable information