PHP contact form with echo request

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
ironblaze94

PHP contact form with echo request

Post 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 ?
Post Reply

Return to “The Lounge”