Can anyone tell me if it is possible to send variables to a page automatically? For example, I have a form which I am posting to a validation script in another file. I want to be able to say "if the form contains an error, go back to the form and print the variable that says there's an error, else, go to the next page." Is this possible?
Ta.
Automatic Redirect
Moderator: General Moderators
you could have the action page loaded by the form be an inbetween page that will either return you to the form or forward you to the next page. it would be smarter to have error checking via javascript on the form page though. or maybe use both. the intermediate page can pass them on to the next page with either cookies (somewhat more secure) or using the "get" method meaning the URL ends in ?variableName=variableValue