I have a website that has a contact form in the footer of every page. When someone sumbits their details I do a check to see if the fields are filled in correctly. If the fields aren't filled in correctly I display an error just above the form.
The problem is that when the page loads after submit I need it to jump to the bottom of the page. I've put the following code just above the contact form:
And I'm trying to use the following php code to jump to the bottom of the page:
The problem is that #contact isn't being included in the redirect. How do I include it?