Results 1 to 7 of 7

Thread: Form submits without entering any data in required field

  1. #1
    Join Date
    Mar 2012
    Posts
    4

    Default Form submits without entering any data in required field

    I set my form up and have numerous required fields specified on the form. When I open the page and click the submit button the form processes and sends me the empty form results and redirects to the Thank You page. What am I missing in my coding? Thanks in advance for any help.

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Form submits without entering any data in required field

    sounds weird

    wots the URL for ur form so we can check things?

  3. #3
    Join Date
    Mar 2012
    Posts
    4

    Default Re: Form submits without entering any data in required field

    Here is the link to the form: http://www.rhodestravel.us.com/cruise_form.htm. You can take a look at the HTML as I haven't protected the page yet. Any help you can provide would be appreciated. I've used other FormMail programs in the past; this is myfirst experience with the program offered by tectite so I apologize in advanceif I missed something in my coding.

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Form submits without entering any data in required field

    i can't see anything particularly wrong.

    so, i'd do two things:
    1. add enctype="multipart/form-data" to ur <form> tag
    2. remove or disbale ur javascript and see if that fixes the problem. if so, u have a bug in ur javascript



  5. #5
    Join Date
    Mar 2012
    Posts
    4

    Default Re: Form submits without entering any data in required field

    Thanks, I'll give it a try and let you know what happens.

  6. #6
    Join Date
    Jul 2011
    Posts
    45

    Default Re: Form submits without entering any data in required field

    You might find it helps to have a </form> tag in there somewhere.

    The HTML is also extremely untidy - you have lots of redundant tags and code, indenting erratically doesn't make it easy to see what's happening where, and you have one line that says:-

    <script language="JavaScript" src="js/menu.js" </td </tr </tr </tr </tr </tr </tr </tr </tr></script

    You can't hope to have a working form if you can't produce legal HTML.
    Last edited by Ben; 15-Mar-2012 at 03:30 PM.

  7. #7
    Join Date
    Mar 2012
    Posts
    4

    Default Re: Form submits without entering any data in required field

    Thanks for your comments/suggestions. I'm working to clean things up now and checking a few other items from another post.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-Aug-2011, 01:29 AM
  2. If missing required field, the form is still submitted
    By stephborel in forum Community Support
    Replies: 1
    Last Post: 31-Oct-2007, 01:18 AM
  3. Submits form but error page occurs
    By jaglenn in forum Community Support
    Replies: 0
    Last Post: 11-Sep-2007, 09:11 PM
  4. Email aliases in script, and forwarding form field data
    By nv1962 in forum FormMail Subscription Support
    Replies: 6
    Last Post: 30-Nov-2005, 08:22 AM
  5. Is the recipients field required in html form?
    By adam2003w in forum FormMail Subscription Support
    Replies: 1
    Last Post: 15-Jun-2005, 03:54 AM

Bookmarks

Posting Permissions

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