don't have the user hit the back button.
the back button is bad, bad, bad.
instead, display the error message and have a button the page to go back to the previous page. have the button submit using hidden fields the data back to the previous page. on the orginal page using php to set the values of the inputs on the form like so:
<INPUT TYPE=TEXT NAME=type_here VALUE="<? echo $type_here; ?>">
this way if another page POSTs the data back to the page the fields will be filled in.