Small contact form needed for website

Commissario
Joined
23 Nov 2004
Posts
43,012
Location
Herts
I've currently put in a rather basic, and pretty terrible, PHP contact form onto my site.

http://jmcadam.com/contact.htm

I'd like something more simple and compact, and when there's an error (as in incorrect email format/empty field) an error appears next to the box, not taken to a nasty white page with black text.

The same is when a message is sent, greeted with a white page with details and a link to the homepage.

Not really sure which language is best for this, any links or input as usual cheers guys :)
 
Right I need to set it now so that all fields are required because I keep getting people submitting blank forms to test it! Would this be done in the PHP coding?
 
True, it needs a fair bit of work. Will address these issues once I've worked out how - I'm very new to PHP!
 
Back
Top Bottom