basically what i want is, when i submit my form, the action="" is set to my PHP Script which executes the form and does what it needs to do, if its not successful it redirects to the same page displaying the error that occurred, but when it redirects it goes to the top of the page, how can i make it automatically go to the form where the error is displayed on that page, so like auto scroll, kind of like a ^TOP link, when you click top it goes to where ever you have set the id.
I just want it to know where the error is on the page and scroll to that error, so guests are wondering what happened because the error is near the form and they are at the top of the page.