Hi all (My first post! Whoohoo!)
I need some insite on how to make my idea work. I have a form that takes in a customers information. When they hit 'Submit' I want it to save the information in a temporary SQL table THEN go to a pearl page that will verify the info.
I have it working by having the 'submit' refresh the page and when the "$submit = true" the page will get redirected to the Pearl page/
The only problem is that on the pearl page, it can say somthing like "You did not enter a phone number. Please hit the back button to correct." When the user hits the back button, the "$submit = true" gets executed again, and you end up getting automaticlly redirected to the pearl page. 🙁
I want to find a way that the use could hit the back button to corect an error, but not have the redirect executed.
Hope that makes sence!
Thanks in advance