Hi all,
I'm having some trouble working this problem out. I have a form where user can specify various item from a range of form items (check box, radio button, drop down menu, etc). I want this form to valid date it self and if all inputs are correct open a new window and run a different script.
Here is my solution for the time being.
Form A had all the user selection entried and that form calls it self for validation. When this form is submitted it cycles through the $_POST variable and builds a hidden form with a different action(Form 😎. Then form B is submitted.
Now because I'm relying on Form A as input variables to form B its always a step behind. I use $POST for one form and $GET for another.
My question is Is there a way that I can have to completly different actions from one form. Action 1 will refresh the form it self while validating the form in same window where as action 2 will open a new window and run a different script with inputs from form A.