Most of the form I'm using are simple. I have the form itself on one page and end it to a thank you page which has the php logic that decides what to do with the info. I'll use javascript validation just to make things easier for the person filling out the form, which should keep them on the original page until things are filled out right.
I'll always validate on the server side too with php and in the thank you page if something doesn't validate it's easy to redirect people back to the original form while still populating all the fields. It's never more than 2 pages and relatively easy to maintain. I find having everything in one file requires adding more logic to get things to work.
Bookmarks