Web Analytics Made Easy -
StatCounter Check required fields in a form - CodingForum

Announcement

Collapse
No announcement yet.

Check required fields in a form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check required fields in a form

    I have a feedback form on my site and I am trying to validate the e-mail box so that it is a required field, otherwise I do not know where the message has come from. I have designed the form in Front Page and followed all the instructions but it still allows me to send the form with this box left blank. Is there an easy way around this?

    Regards

    Homer

  • #2
    Hi:
    This is actually a JS question. You can try using a script such as this one to enforce fields in your form being filled out before submission: http://www.javascriptkit.com/script/...required.shtml

    BTW, I edited your subject to be more descriptive of your question
    - George
    - JavaScript Kit- JavaScript tutorials and 400+ scripts!
    - JavaScript Reference- JavaScript reference you can relate to.

    Comment

    Working...
    X