1 Reply Latest reply on Dec 15, 2010 5:17 PM by ultrasuite

    Submitting a form

    BeaverNation18

      My company wants me to put an online employment application so people can apply online.  I have made the whole form, now how do I get it that when you click on the 'Submit' button, that it redirects it to another landing page and emails me the filled out application? Thank you in advance for any help,

       

      Nikki

        • 1. Re: Submitting a form
          ultrasuite Level 1

          It depends on which fields you have in the form you are submitting.  Which fields will contain the information that you want the email to send?  You can obtain the value enetered in the fields like this:

           

          $_POST("EmailBody")

           

          Then use something like this:

           

          <?php

           

          if($_POST["action"]=="insert"){

           

          mail ("you@yourdomain.com", "Employment Application", "$_POST("EmailBody"), "From: $Email");

           

          echo "Email Sent!";
          }

          ?>

           

           

          J.S.

          ASP and PHP Extensions

          UltraSuite