Results 1 to 3 of 3

Thread: Stopping blank email forms

  1. #1
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default Stopping blank email forms

    I have a html page with field boxes and when someone hits submit it goes to a php page that thanks them for entering their information but in the background of the page it submits the information to a email address.

    Problem I have now is people are hitting submit without filling the form (why people do this is beyond me). Is there a string of code or javascript or something that will not allow someone to hit submit until after the form has been filled? I know it exsists I just don't know how to do it.

    Any help would be great.


    -- Nate

  2. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Yes, there are many. One of which is right here on this site. See below...

    http://www.dynamicdrive.com/dynamici...uiredcheck.htm
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  3. The Following User Says Thank You to TheJoshMan For This Useful Post:

    nate51 (08-06-2008)

  4. #3
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default

    Thanks Nyne Lyvez,

    That did the trick perfectly!

    -- Nate

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
  •