My normal method of form handling is a file like contact.php with a handler like contacthandler.php. In contacthandler.php there would be a validation routine. If the form does not validate, I offer a javascript go-1 and the user can make corrections.
My problem is with a script written by someone else. (I think it’s related to the fact that it uses sessions.) I have added my form and everything works except that when you return to the previous page the form is blank. Quite frustrating for a long form. I know I can re-call the page with a submit button and hidden fields then fill in all the fields with
[CODE]value=”<?php echo($whatever);?>”
But I’d rather find a way to keep those values in history.
Can anyone give me a clue, or if it can’t be done explain why?
Tec.