Problem with submit button on form!

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

    • Nov 2007
    • 27

    Problem with submit button on form!

    Everything but the most important is working for me lol... When you press submit there is no response. In otherwords nothing happens. Does I haven't entered anything into the "Event" list because it didn't show it on the videos... Please help because I need this finished soon!
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: Problem with submit button on form!

    First of all, always post a link to your website if you are asking help about a problem on it.

    Second of all, your submit button probably isn't within the form boundary, move it inside and it should work

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • Tripleactionoutdoors
      Sergeant

      • Nov 2007
      • 27

      #3
      Re: Problem with submit button on form!

      www.tripleactionoutdoors.com


      I'm sure it's in the form

      Comment

      • Watdaflip
        Major General

        • Sep 2005
        • 2116

        #4
        Re: Problem with submit button on form!

        Its not, infact none of the fields are.. (the html code doesn't lie)

        Register/Login Script
        Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

        Comment

        • Tripleactionoutdoors
          Sergeant

          • Nov 2007
          • 27

          #5
          Re: Problem with submit button on form!

          WTH.... They do but you have to click at the very beggining of the box... The form is covering everything and I recieved an email saying it was working or something and the only thing that don't work is the submit button!!! I'm getting frustrated I followed everything!

          Comment

          • Tripleactionoutdoors
            Sergeant

            • Nov 2007
            • 27

            #6
            Re: Problem with submit button on form!

            So.... Can you tell me how to get that submit button to send the file to me and go to the action.php page? Maybe someone could edit that code to send the email to boss@tripleactionoutdoors.com (Thats my email) and say whatever... I thought I did it right but maybe not so let me know!

            Thanks guys

            Comment

            • Tripleactionoutdoors
              Sergeant

              • Nov 2007
              • 27

              #7
              Re: Problem with submit button on form!

              Here is the code I put in the "tripleactionoutdoors.com/action.php"

              I put this in the "Beggining Of Body":
              <?PHP
              $mailto = "boss@tripleactionoutdoors.com";
              $email = $HTTP_POST_VARS['email'];
              if ($email == "") {
              $email = $mailto;
              }
              $mailsubj = "Consumer Emails.";
              $mailhead = "From: $email\n";
              reset ($HTTP_POST_VARS);
              $mailbody = "Values submitted from web site form :\n";
              while (list ($key, $val) = each ($HTTP_POST_VARS))
              {
              if ($key!="submit")
              {
              $mailbody .= "$key : $val\n";
              }
              }
              mail($mailto, $mailsubj, $mailbody, $mailhead);


              The page that is having problems to my know how is "tripleactionoutdoors.com/contact.html"

              If I have done anything wrong let me know!

              Thanks!

              Comment

              • Tripleactionoutdoors
                Sergeant

                • Nov 2007
                • 27

                #8
                Re: Problem with submit button on form!

                Guy I found out the problem!!!! After hours and hours of scratching my head.... It's the Layer I had a layer! If you put a form over a layer the buttons will not work properly! You must remove the layer for this to work.

                Thanks for trying to help guys!

                Comment

                Working...
                X