I need to display a modal popup box that has a text field. When the user presses OK, I need to compare that text field to a global variable to determine if the user entered the correct data. If the text field matches the global variable, then I want to display the form. If it doesn’t I want to display an error and return them to the previous web page.
I know I’m mixed PHP and Javascript but there has to be a way to do this. Any thoughts?