Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 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
    WA
    WA is offline
    Administrator
    Join Date
    Mar 2002
    Posts
    2,596
    Thanks
    2
    Thanked 19 Times in 18 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •