Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Html Forms  (Read 3442 times)

0 Members and 1 Guest are viewing this topic.

fishwieght

  • Guest
Html Forms
« on: January 11, 2008, 10:49:16 AM »
I am stuck.  I want to make someone input an email address when they fill out my contact form.  I am getting people putting there names and leaving me no way to contact them.  How can I make it so when a person pushes the submit button, if they dont put an email address or phone number down it will give them an error message? I use Dreamweaver. Thanks in advanced for all help, I need it!

michaewlewis



    Intermediate
  • Thanked: 26
    • Yes
    • Yes
  • Experience: Expert
  • OS: Unknown
Re: Html Forms
« Reply #1 on: January 11, 2008, 10:53:49 AM »
javascript. :)
Have the submit button run a script, before sending, that checks the fields to see if they're filled.
Search for "form validation javascript": http://search.yahoo.com/search?p=form+validation+javascript&ei=UTF-8&fr=moz2