Hi there,
I have a html form in page 1.
User fills in the form and clicks submit which calls page 2.
Page 2 validates the data entered agaisnt database. If there is a error, page 2 displays the error and asks the user to click "back" button on browser so that whatever user originally entered in page1 can be corrected and submitted again. All is fine.
Question:
I do not want to use the back button to correct the invalid data. Instead, after validation, want to show the error message in the page 1 and date user originally entered.
I know you can do this using AJAX. I do not want to.
Another way could be using Iframe in the page 1 and submitting the form in the iframe.
Apart from this, do you guys know of any other solution?
Thanks in advance.
Start Free Trial