Page 1 of 1

PHP contact form with echo request

Posted: Thu Aug 09, 2007 10:14 am
by ironblaze94
Hi

I built a contact form using php and echo request so when the user clicks submit, for example without putting in a name, instead of a javascript alert popping up or taking the user to a new page and saying "please enter a name", red text appears next to the text field instructing the user what to enter

now it uses echo request and creates a new form when vaildation fails so it remembers effectively what has all been entered into the text fields but cannot remember what option was chosen in a drop down menu

has anyone worked with this sort of contact form before ?