Title in web form

Hi
I'm trying to create a new web form for people to subscribe to a newsletter.
I just want the form fields to be name and email but I can't seem to work out how to remove the title and the first name
any ideas?
thanks
Tim

You need first and last name on web forms.
You can combine them into FullName - http://forums.adobe.com/docs/DOC-2363
Just delete the title html from the form.

Similar Messages

  • How to change/set the browser title from web forms (XP platform with SP2)

    I am running Form9i, I have set the browser windows title from Web Forms dynamically by using following method. However, when my PC has changed to XP, the function seems not work. Does anybody have same problem and how to solve it? Any suggestions would be appreciated.
    Add the Javascript code to your baseHTML file. For example,
    if you are using the basejini.htm:
    <HEAD><TITLE>%pageTitle%</TITLE>
    <script language="javascript1.2" type="text/javascript1.2">
    function Change(a) {    document.title=a;    } </script>
    </HEAD>
    In web Forms , call the javascript function with WEB.SHOW_DOCUMENT built.
    For Example the following code set the browser title with username . web.show_document('javascript:Change('||'"'|| get_application_property(USERNAME)||'"'||')','_self');
    Best Regards,
    Bowie

    Dear Frank,
    Thanks for your reply. Can you tell me in detail which built-in function in Webutil can set value in browser title ?
    Btw, is it possible for me to set parameter "separateFrame=True" in formsweb.cfg and set the form window title by using SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,v_msg_string)?
    Best Regards,
    Bowie

  • Web form title is full of names

    Hi
    I just created a simple web form and as usual since I must use the title field now it's full of titles from imported user list to my CRM.
    Why does it do this? This is absolutly lame.

    Because you had a mall formed input and you put all your first names into the title coloumn instead of the first name coloumn and imported that in.
    You will need to go into that and clear them all out and look to do a correct import as well to fix the CRM.

  • Title tag in Web Form autoresponse

    Hi Guys
    Client wants to address each person in their web form autoresponse as Dear Mr Brown.
    Tags for autoresponse include firstname, lastname and full name but no title?
    Is it possible to do this? If so, what is the tag please.
    Kenton

    Hi there,
    There is no tag for the title. You can only use those tags which are present inside the Tag Insert dropdown.
    Kind regards,
    Mario

  • Can't get php and web form to function properly

    Hello,
    I have a html web form and a php code that works fine in my older website.
    i just updated my site and need to transfer the code for the html form into a newly designed page.
    I copied and pasted the form into the new page. The form come up and works properly except that it doesn't send the form to my email address.
    Everything appears to be the same as my old page but obviously i don't have them linked properly. i've attached the code to both html files. thanks for any help. Owen
    form code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PGATEMPLATE3.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Golf Lessons in Baltimore Owen Dawson PGA, GOLF INSTRUCTION IN MARYLAND, GOLF LESSONS IN BALTIMORE</title>
    <meta name="Keywords" content="GOLF INSTRUCTION, GOLF LESSONS IN BALTIMORE, BALTIMORE, MARYLAND, GOLF INSTRUCTION BALTIMORE,SHORT GAME,BUNKER PLAY" />
    <meta name="Description" content="Golf Instruction in Baltimore Maryland" />
    <!-- InstanceEndEditable -->
    <link href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/twoColFixRtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixRtHdr #sidebar1 { width: 220px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style1 {
        font-size: small
    .style2 {
        font-family: "Comic Sans MS", Papyrus;
        font-size: small;
    .style6 {font-size: smaller; font-family: "Comic Sans MS", Papyrus; }
    .style7 {font-family: "Comic Sans MS", Papyrus}
    .style8 {color: #0000FF}
    a:link {
        text-decoration: none;
        color: #000000;
    a:visited {
        text-decoration: none;
        color: #000000;
    a:hover {
        text-decoration: none;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        border-top-color: #001EF1;
        border-right-color: #001EF1;
        border-bottom-color: #001EF1;
        border-left-color: #001EF1;
        color: #000000;
        background-color: #C1C1C1;
    a:active {
        text-decoration: none;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body class="twoColFixRtHdr">
    <div id="container">
      <div id="header">
        <h1><img src="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/photos/newpgabannerfinal3_2_10.png" width="739" height="210" /></h1>
        <!-- InstanceBeginEditable name="EditRegion4" -->
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/index.html" class="style1">Home</a> </li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/V1Login.html" class="style1">V1 Student Videos</a></li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Private_Lessons.html" class="style1">Private Lessons</a></li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Clinics.html" class="style1">Clinics</a></li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/PGAPHOTOGALLERY/index.html" class="style1">Photo Gallery</a> </li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Gift_Certificates.html" class="style1">Gift Certificates</a></li>
          <li><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Instructional_Video.html" class="style1">Instructional Video</a></li>
          <li><a href="mailto:[email protected]" class="style1">Contact Owen</a></li>
        </ul>
        <!-- InstanceEndEditable -->
        <p align="center"> </p>
      <!-- end #header --></div>
      <div id="sidebar1">
        <p class="style7"><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Contact_Form.html">Instructional Form </a></p>
        <p class="style7"><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Sample_Lesson.html">Sample Lesson</a></p>
        <p class="style7"><a href="http://www.youtube.com/user/owenpga" target="_blank">Video tutorials</a></p>
        <p class="style7"><a href="http://owendawsonpga.blogspot.com" target="_blank">Instructional Blog</a></p>
        <p class="style7 style8"> </p>
        <p class="style2"> </p>
        <p class="style2">Testimonials</p>
        <p class="style7 style6">“I have been working with Owen Dawson for the past 7 years. During that time my swing has dramatically changed and improved. This has happened through Owen's drills and use of video. It is because of these techniques, that I understand how to hit good shots but just as importantly why I hit a shot poorly. I’m glad I’ve had the opportunity to work with Owen and would highly recommend him. ” <strong>Sam Young - Country Club of Maryland - 2009 Men's Club Champion </strong></p>
        <p class="style2">.............................................</p>
        <p class="style7 style6">“Owen does two things  particularly well, in my opinion.  First, he is a master of recording  technology, and it really helps me to see what I need correcting, and what the  new move needs to be.  Second, Owen knows what the best next step should be  in your own journey to a better swing.  I have taken one or two lessons  from Owen each year for the last three or four years – one relatively small  step at a time, and then worked on grooving that step.  In that period, my  index has dropped about 8 strokes, and in 2007 I won the Club’s “Most Improved  Player” award.  Kudos to Owen!”</p>
        <p class="style7 style6"><strong>Bill Smillie -CCofMD</strong></p>
        <h3 class="style2"><a href="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/Testimonials.html">Read other testimonials  </a></h3>
        <!-- end #sidebar1 -->
      </div>
      <!-- InstanceBeginEditable name="MAINCONTENT" -->
      <div id="mainContent">
          <form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
          <p class="style5">Name</p>
          <p>
            <label for="textfield"><span class="style5">First</span></label>
            <input type="text" name="textfield" id="textfield" />
            </p>
          <p>
            <label for="textfield2"><span class="style5">Last</span></label>
            <input type="text" name="textfield2" id="textfield2" />
          </p>
          <p><span class="style5">Phone number
              <label>
              <input type="text" name="textfield3" id="textfield3" />
              </label>
          </span></p>
          <p><span class="style5">Email</span>
            <label>
            <input type="text" name="textfield4" id="textfield4" />
            </label>
          </p>
          <p><span class="style5">Address
              <label>
              <input type="text" name="textfield5" id="textfield5" />
              </label>
          </span></p>
          <p><span class="style5">State</span>
            <label>
            <input type="text" name="textfield6" id="textfield6" />
            </label>
          </p>
          <p><span class="style5">Zip Code</span>
            <label>
            <input type="text" name="textfield7" id="textfield7" />
            </label>
          </p>
          <p><span class="style5">How did you find me?</span>
            <label for="select"></label>
            <select name="select" id="select">
              <option value="internet">Internet Search</option>
              <option value="friend referral">Friend Referral</option>
              <option value="ccmdsite">Country Club of MD website</option>
              <option value="other">Other</option>
            </select>
          </p>
          <p><span class="style5">What are your golfing goals?</span>            
            <select name="select2" id="select2">
              <option value="break 100">Break 100</option>
              <option value="break 90">Break 90</option>
              <option value="break 80">Break 80</option>
              <option value="stop slice">Stop Slicing the Ball</option>
              <option value="stop hook">Stop Hooking the Ball</option>
              <option value="Compete">Compete in local tournaments</option>
              <option value="More Consistant">Hit more consistant shots</option>
            </select>
          </p>
          <p><span class="style5">How much can you practice?</span>
            <label for="select3"></label>
            <select name="select3" id="select3">
              <option value="1 hour">1 hour</option>
              <option value="2 hours">2 hours</option>
              <option value="3 hours">3 hours </option>
              <option value="> 3 hours">More than 3 hours a week</option>
            </select>
          </p>
          <p><span class="style5">What would you like to learn?</span>
            <label for="select4"></label>
            <select name="select4" id="select4">
              <option value="full swing">Full Swing Mechanics Irons</option>
              <option value="driver swing">Full Swing Mechanics Driver</option>
              <option value="short pitches">Short Pitch Shots inside of 50 yards</option>
              <option value="bunker play">Bunker Play</option>
              <option value="chipping">Chipping</option>
              <option value="short shots">Short shots from rough</option>
            </select>
          </p>
          <p class="style5">What is your Handicap?<label for="select5"></label>
            <select name="select5" id="select5">
              <option value="scratch to 5">Scratch - 5 HDCP</option>
              <option value="6 to 10">6 - 10 HDCP</option>
              <option value="11 to 15">11 - 15 HDCP</option>
              <option value="15 to 20">15 - 20 HDCP</option>
              <option value="> 21">21 and Higher</option>
            </select>
          </p>
          <p class="style5">How long have you been playing?
            <label for="select6"></label>
            <select name="select6" id="select6">
              <option value="beginner">Beginner</option>
              <option value="2 to 5 years">2-5 yrs</option>
              <option value="6 to 10 years">6-10 yrs</option>
              <option value="11 to 15 years">11-15yrs</option>
              <option value="> 15 years">More than 15 years</option>
            </select>
          </p>
          <p class="style5">Have you ever had a lesson?
            <label for="select7"></label>
            <select name="select7" id="select7">
              <option value="yes">YES</option>
              <option value="no">NO</option>
            </select>
          </p>
          <p class="style5">Additional Information
            <label>
            <textarea name="textfield8" cols="40" id="textfield8"></textarea>
            </label>
          </p>
          <p class="style5">
            <label for="button"></label>
            <input type="button" name="button" id="button" value="Submit" onclick="submitForm()" />
          </p>
          <p class="style5"> </p>
            <div id="msg" style="font: bold 12px arial"></div>
        </form>
        <p align="center" class="style8"><br />
        </p>
        <p class="style8"> </p>
        <p class="style8"> </p>
        <p class="style8 style12"><strong><br />
         </strong></p>
        <p align="left"> </p>
        <h1> </h1>
        <!-- end #mainContent -->
        </div>
      <!-- InstanceEndEditable -->
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
      <br class="clearfloat" />
      <div id="footer">
        <p align="center"><a href="http://golfaroundtheworld.com" target="_blank"><img src="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/photos/GAW.png" alt="" width="153" height="56" hspace="50" border="0" /></a><a href="http://www.owendawsonphotography.com" target="_blank"><img src="file:///Macintosh HD/Users/owenpga/Desktop/New PGA SITE/photos/ody.png" width="186" height="56" hspace="50" border="0" /></a></p>
        <h2 align="center" class="style6">©Owen Dawson P.G.A. ™ All rights reserved</h2>
        <!-- end #footer -->
      </div>
      <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    php code
    <?
    $fname = $HTTP_POST_VARS['textfield'];
    $lname = $HTTP_POST_VARS['textfield2'];
    $phone = $HTTP_POST_VARS['textfield3'];
    $email = $HTTP_POST_VARS['textfield4'];
    $address = $HTTP_POST_VARS['textfield5'];
    $state = $HTTP_POST_VARS['textfield6'];
    $zip = $HTTP_POST_VARS['textfield7'];
    $find = $HTTP_POST_VARS['select'];
    $goals = $HTTP_POST_VARS['select2'];
    $practice = $HTTP_POST_VARS['select3'];
    $learn = $HTTP_POST_VARS['select4'];
    $handicap = $HTTP_POST_VARS['select5'];
    $timeplaying = $HTTP_POST_VARS['select6'];
    $lesson = $HTTP_POST_VARS['select7'];
    $additional = $HTTP_POST_VARS['textfield8'];
    //echo "$fname\n$lname\n$phone\n$email\n$address\n$state\n$zip\n$find\n$goals\n$practice\n$learn \n$handicap\n$timeplaying\n$lesson\n$additional\n";
    mail('[email protected]','Owen Dawson PGA Contact Form Submission',"First Name: $fname\nLast Name: $lname\nPhone Number: $phone\nEmail: $email\nAddress: $address\nState: $state\nZip Code: $zip\nHow did you find me? $find\nWhat are your goals? $goals\nHow much can you practice? $practice\nWhat would you like to learn? $learn\nWhat is your handicap? $handicap\nHow long have you been playing golf? $timeplaying\nHave you ever taken a lesson? $lesson\nAdditional Information: $additional\n",'From: [email protected]');
    ?>
    <html>
    <head>
    <script type="text/javascript">
    window.onload = function(){
        parent.messageSent();
    </script>
    </head>
    <body>
    </body>
    </html>

    When i load the PHP,form page and thank you page im getting this error when i hit send.
    No email is sent from form.
    Parse error: syntax error, unexpected T_STRING in /home/owendaws/public_html/owendawsonpga/contactformprocess_original_db.php on line 38
    PHP page
    <?
    $fname = $HTTP_POST_VARS['textfield'];
    $lname = $HTTP_POST_VARS['textfield2'];
    $phone = $HTTP_POST_VARS['textfield3'];
    $email = $HTTP_POST_VARS['textfield4'];
    $address = $HTTP_POST_VARS['textfield5'];
    $state = $HTTP_POST_VARS['textfield6'];
    $zip = $HTTP_POST_VARS['textfield7'];
    $find = $HTTP_POST_VARS['select'];
    $goals = $HTTP_POST_VARS['select2'];
    $practice = $HTTP_POST_VARS['select3'];
    $learn = $HTTP_POST_VARS['select4'];
    $handicap = $HTTP_POST_VARS['select5'];
    $timeplaying = $HTTP_POST_VARS['select6'];
    $lesson = $HTTP_POST_VARS['select7'];
    $additional = $HTTP_POST_VARS['textfield8'];
    mail('[email protected]','Owen Dawson PGA Contact Form Submission',"First Name: $fname\nLast Name: $lname\nPhone Number: $phone\nEmail: $email\nAddress: $address\nState: $state\nZip Code: $zip\nHow did you find me? $find\nWhat are your goals? $goals\nHow much can you practice? $practice\nWhat would you like to learn? $learn\nWhat is your handicap? $handicap\nHow long have you been playing golf? $timeplaying\nHave you ever taken a lesson? $lesson\nAdditional Information: $additional\n",'From: [email protected]');
    header("Location: http://www.owendawsonpga.com/thankyouform.html");
    ?>
    form page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PGATEMPLATE3.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Golf Lessons in Baltimore Owen Dawson PGA, GOLF INSTRUCTION IN MARYLAND, GOLF LESSONS IN BALTIMORE</title>
    <meta name="Keywords" content="GOLF INSTRUCTION, GOLF LESSONS IN BALTIMORE, BALTIMORE, MARYLAND, GOLF INSTRUCTION BALTIMORE,SHORT GAME,BUNKER PLAY" />
    <meta name="Description" content="Golf Instruction in Baltimore Maryland" />
    <!-- InstanceEndEditable -->
    <link href="twoColFixRtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixRtHdr #sidebar1 { width: 220px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style1 {
        font-size: small
    .style2 {
        font-family: "Comic Sans MS", Papyrus;
        font-size: small;
    .style6 {font-size: smaller; font-family: "Comic Sans MS", Papyrus; }
    .style7 {font-family: "Comic Sans MS", Papyrus}
    .style8 {
        color: #0000FF;
        font-family: Georgia, "Times New Roman", Times, serif;
    a:link {
        text-decoration: none;
        color: #000000;
        background-color: #EBEBEB;
    a:visited {
        text-decoration: none;
        color: #000000;
    a:hover {
        text-decoration: none;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        border-top-color: #001EF1;
        border-right-color: #001EF1;
        border-bottom-color: #001EF1;
        border-left-color: #001EF1;
        color: #000000;
        background-color: #EBEBEB;
    a:active {
        text-decoration: none;
    .style9 {font-family: Georgia, "Times New Roman", Times, serif}
    .style10 {font-family: Georgia, "Times New Roman", Times, serif; font-size: small; }
    .style11 {color: #000000}
    .style12 {
        font-family: Georgia, "Times New Roman", Times, serif;
        color: #FF0000;
        font-weight: bold;
    .style13 {color: #FF0000}
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <script type="text/javascript">
    function submitForm(){
        var myform = document.getElementById('form1');
        var fname = document.getElementById('textfield');
        var lname = document.getElementById('textfield2');
        var phone = document.getElementById('textfield3');
        if (fname.value == ''){
            alert('First name is a required field.  Please enter your first name to continue.');
            fname.focus();
            return false;
        if (lname.value == ''){
            alert('Last name is a required field.  Please enter your last name to continue.');
            fname.focus();
            return false;
        if (phone.value == ''){
            alert('Phone number is a required field.  Please enter your preferred phone number to continue.');
            fname.focus();
            return false;
        myform.submit();
    function messageSent(){
        var status = document.getElementById('msg');
        status.innerHTML = 'Message sent successfully.';
    </script>
    <!-- InstanceEndEditable -->
    </head>
    <body class="twoColFixRtHdr">
    <div id="container">
      <div id="header">
        <h1><img src="photos/newpgabannerfinal3_2_10.png" width="739" height="210" /></h1>
        <!-- InstanceBeginEditable name="EditRegion4" -->
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="V1Login.html" class="style1">V1 Student Videos</a></li>
          <li><a href="Private_Lessons.html" class="style1">Private Lessons</a></li>
          <li><a href="Clinics.html" class="style1">Clinics</a></li>
          <li><a href="Gift_Certificates.html" class="style1">Gift Certificates</a></li>
          <li><a href="Instructional_Video.html" class="style1">Instructional Video</a></li>
          <li><a href="mailto:[email protected]" class="style1">Contact Owen</a></li>
        </ul>
        <!-- InstanceEndEditable -->
        <p align="center"> </p>
      <!-- end #header --></div>
      <div id="sidebar1">
        <p class="style12"><a href="newfor2010.html" class="style13">New V1 Swing Analysis Software for 2010</a></p>
        <p class="style7"><a href="contactformprocess_original_db.html">Instructional Form </a></p>
        <p class="style7"><span class="style9"><span class="style9"><a href="Sample_Lesson.html">Sample Lesson</a></span></span></p>
        <p class="style9"><a href="http://www.youtube.com/user/owenpga" target="_blank">Video tutorials</a></p>
        <p class="style9"><a href="http://owendawsonpga.blogspot.com" target="_blank">Instructional Blog</a></p>
        <p class="style7 style8"><a href="PGAPHOTOGALLERY/index.html" target="_blank" class="style9">Photo Gallery</a></p>
        <p class="style7 style8 style11"><a href="Instructional_Video.html">Intructional Video</a></p>
        <p class="style7 style8"> </p>
        <p class="style10">Testimonials</p>
        <p class="style6 style9">“I have been working with Owen Dawson for the past 7 years. During that time my swing has dramatically changed and improved. This has happened through Owen's drills and use of video. It is because of these techniques, that I understand how to hit good shots but just as importantly why I hit a shot poorly. I’m glad I’ve had the opportunity to work with Owen and would highly recommend him. ” <strong>Sam Young - Country Club of Maryland - 2009 Men's Club Champion </strong></p>
        <p class="style2">.............................................</p>
        <p class="style6 style9">“Owen does two things  particularly well, in my opinion.  First, he is a master of recording  technology, and it really helps me to see what I need correcting, and what the  new move needs to be.  Second, Owen knows what the best next step should be  in your own journey to a better swing.  I have taken one or two lessons  from Owen each year for the last three or four years – one relatively small  step at a time, and then worked on grooving that step.  In that period, my  index has dropped about 8 strokes, and in 2007 I won the Club’s “Most Improved  Player” award.  Kudos to Owen!”</p>
        <p class="style6 style9"><strong>Bill Smillie -CCofMD</strong></p>
        <h3 class="style2"><a href="Testimonials.html">Read other testimonials  </a></h3>
        <!-- end #sidebar1 -->
      </div>
      <!-- InstanceBeginEditable name="MAINCONTENT" -->
      <div id="mainContent">
          <form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
          <p class="style5">Name</p>
          <p>
            <label for="textfield"><span class="style5">First</span></label>
            <input type="text" name="textfield" id="textfield" />
            </p>
          <p>
            <label for="textfield2"><span class="style5">Last</span></label>
            <input type="text" name="textfield2" id="textfield2" />
          </p>
          <p><span class="style5">Phone number
              <label>
              <input type="text" name="textfield3" id="textfield3" />
              </label>
          </span></p>
          <p><span class="style5">Email</span>
            <label>
            <input type="text" name="textfield4" id="textfield4" />
            </label>
          </p>
          <p><span class="style5">Address
              <label>
              <input type="text" name="textfield5" id="textfield5" />
              </label>
          </span></p>
          <p><span class="style5">State</span>
            <label>
            <input type="text" name="textfield6" id="textfield6" />
            </label>
          </p>
          <p><span class="style5">Zip Code</span>
            <label>
            <input type="text" name="textfield7" id="textfield7" />
            </label>
          </p>
          <p><span class="style5">How did you find me?</span>
            <label for="select"></label>
            <select name="select" id="select">
              <option value="internet">Internet Search</option>
              <option value="friend referral">Friend Referral</option>
              <option value="ccmdsite">Country Club of MD website</option>
              <option value="other">Other</option>
            </select>
          </p>
          <p><span class="style5">What are your golfing goals?</span>            
            <select name="select2" id="select2">
              <option value="break 100">Break 100</option>
              <option value="break 90">Break 90</option>
              <option value="break 80">Break 80</option>
              <option value="stop slice">Stop Slicing the Ball</option>
              <option value="stop hook">Stop Hooking the Ball</option>
              <option value="Compete">Compete in local tournaments</option>
              <option value="More Consistant">Hit more consistant shots</option>
            </select>
          </p>
          <p><span class="style5">How much can you practice?</span>
            <label for="select3"></label>
            <select name="select3" id="select3">
              <option value="1 hour">1 hour</option>
              <option value="2 hours">2 hours</option>
              <option value="3 hours">3 hours </option>
              <option value="> 3 hours">More than 3 hours a week</option>
            </select>
          </p>
          <p><span class="style5">What would you like to learn?</span>
            <label for="select4"></label>
            <select name="select4" id="select4">
              <option value="full swing">Full Swing Mechanics Irons</option>
              <option value="driver swing">Full Swing Mechanics Driver</option>
              <option value="short pitches">Short Pitch Shots inside of 50 yards</option>
              <option value="bunker play">Bunker Play</option>
              <option value="chipping">Chipping</option>
              <option value="short shots">Short shots from rough</option>
            </select>
          </p>
          <p class="style5">What is your Handicap?<label for="select5"></label>
            <select name="select5" id="select5">
              <option value="scratch to 5">Scratch - 5 HDCP</option>
              <option value="6 to 10">6 - 10 HDCP</option>
              <option value="11 to 15">11 - 15 HDCP</option>
              <option value="15 to 20">15 - 20 HDCP</option>
              <option value="> 21">21 and Higher</option>
            </select>
          </p>
          <p class="style5">How long have you been playing?
            <label for="select6"></label>
            <select name="select6" id="select6">
              <option value="beginner">Beginner</option>
              <option value="2 to 5 years">2-5 yrs</option>
              <option value="6 to 10 years">6-10 yrs</option>
              <option value="11 to 15 years">11-15yrs</option>
              <option value="> 15 years">More than 15 years</option>
            </select>
          </p>
          <p class="style5">Have you ever had a lesson?
            <label for="select7"></label>
            <select name="select7" id="select7">
              <option value="yes">YES</option>
              <option value="no">NO</option>
            </select>
          </p>
          <p class="style5">Additional Information
            <label>
            <textarea name="textfield8" cols="40" id="textfield8"></textarea>
            </label>
          </p>
          <p class="style5">
            <label for="button"></label>
            <input type="submit" name="Submit" id="button" value="Submit"onclick="submitForm()" />
          </p>
          <p class="style5"> </p>
            <div id="msg" style="font: bold 12px arial"></div>
        </form>
        <p align="center" class="style8"><br />
        </p>
        <p class="style8"> </p>
        <p class="style8"> </p>
        <p class="style8 style12"><strong><br />
         </strong></p>
        <p align="left"> </p>
        <h1> </h1>
        <!-- end #mainContent -->
        </div>
      <!-- InstanceEndEditable -->
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
      <br class="clearfloat" />
      <div id="footer">
        <p align="center"><a href="http://www.v1golf.com" target="_blank"><img src="photos/GAW.png" width="163" height="60" hspace="20" border="0" /><img src="photos/logo.png" width="80" height="76" hspace="40" border="0" /></a><a href="http://www.owendawsonphotography.com" target="_blank"><img src="photos/ody.png" width="199" height="59" border="0" /></a></p>
        <h2 align="center" class="style6">©Owen Dawson P.G.A. ™ All rights reserved</h2>
        <!-- end #footer -->
      </div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    thank you page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    Thank you for fill out my lesson form. I will be in touch with you shortly. Owen
    </body>
    </html>

  • Is Minimal OPTIN no longer working in Web Forms ?

    I cant seem to get the code to auto optin
    I created a web form, which includes the newsletter checkbox for a newsletter email list. I hide that, and make sure it is checked, as we *** add &OPTIN=TRUE
    Now the inline editor changes it to &amp;OPTIN=TRUE and maybe that is my problem - no idea.
    Here is the code
    <form name="catwebformform45938" method="post" onsubmit="return checkWholeForm45938(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=34136&amp;OID={module_oid}&amp;OTYPE={module_otype} &amp;EID={module_eid}&amp;CID={module_cid}">
    <span class="req">*</span>  Required
    <table border="0" cellspacing="0" cellpadding="2" class="webform">
    <tbody>
    <tr>
    <td>{module_ccsecurity}</td>
    </tr>
    <tr>
    <td><label for="Title">Title</label><br />
    <select name="Title" id="Title" class="cat_dropdown_smaller">
    <option value="68127">DR</option>
    <option value="68125">MISS</option>
    <option value="68123" selected="selected">MR</option>
    <option value="68124">MRS</option>
    <option value="68126">MS</option>
    </select></td>
    </tr>
    <tr>
    <td><label for="FirstName">First Name <span class="req">*</span></label><br />
    <input type="text" name="FirstName" id="FirstName" class="cat_textbox" maxlength="255" style="background-image: url(data:image/png;base64,ivborw0kggoaaaansuheugaaabaaaaaqcayaaaaf8/9haaabhkleqvq4eavto26 dqbd1ohqwas2lg9jybz+ak7hnwx2oiovf4upq0lj1fdkktevipel8aknukdcwmxpgsaieatvv3sx7uztitdu2s/98d ywow3dued4who/m2aix5lzv1aesy0+qiwhelyi+ytl0pq69sxaxkwia4rmrtdnske59jumcuzd6xiafez6fgcdj8ky 4y7kautrngd7jyebxsdope3a0qgpsnionnymo67lgsqn9t41f2qgrqrrfcwyzoif2qybukkbcogpxdvey9rmwgnsjf 9ccyesjhk3f5dyt1hx9gr0llqr30tnjkuecx2uius4rni+aj6sjr0am8aaumpam/rrehywhxqbfaa9kh3/8/nvhxay gasz/il8ialkclbfnvaaaaabjru5erkjggg==); background-repeat: no-repeat; background-attachment: scroll; background-position: right center;" /> </td>
    </tr>
    <tr>
    <td><label for="LastName">Last Name <span class="req">*</span></label><br />
    <input type="text" name="LastName" id="LastName" class="cat_textbox" maxlength="255" /> </td>
    </tr>
    <tr>
    <td><label for="EmailAddress">Email Address <span class="req">*</span></label><br />
    <input type="text" name="EmailAddress" id="EmailAddress" class="cat_textbox" maxlength="255" /> </td>
    </tr>
    <tr>
    <td><label for="CAT_Custom_179832">Property Address</label><br />
    <textarea name="CAT_Custom_179832" id="CAT_Custom_179832" cols="10" rows="4" class="cat_listbox" onkeydown="if(this.value.length&gt;=4000)this.value=this.value.substring(0,3999);"></text area></td>
    </tr>
    <tr>
    <td><scan class="hide"><input type="checkbox" checked="yes" name="CampaignList_10142&amp;OPTIN=TRUE" selected="checked" />Subscribe to: Newsletter</scan></td>
    </tr>
    <tr>
    <td><input type="submit" class="cat_button" value="Submit" id="catwebformbutton" /></td>
    </tr>
    </tbody>
    </table>
    <script src="/CatalystScripts/ValidationFunctions.js" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    var submitcount45938 = 0;function checkWholeForm45938(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if(why != ""){alert(why);return false;}if(submitcount45938 == 0){submitcount45938++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
    </form>
    The problem is that, the subsrcibee does not get the optin email, which is good, but he is not subscribed either.

    so I added &OPTIN=TRUE to catwebformform45938
    so I had this catwebformform45938&OPTIN=TRUE
    Which actually did subscribe them to the newsletter
    However, they still got -
    a) The landing page after subscription now shows
    Campaign Newsletter Subscriptions
    [Newsletter] - requires you to verify your subscription.
    b) The email received now has the link in it.
    I tried also adding it back to where I had it before, but then it went back to not being subscribed.
    How can I get the landing page and email to understand they are subscribed and dont need reminder or the link.

  • Value field in web form

    Hi
    I want to put a default value in a web form feild but when a user clicks the form field the value disappears to allow them to input their text.
    How is this done? I tried adding  value="text" but this make the value permanent and has to be deleted by the user before they can fill in the field.
    Anyone got any ideas?
    Thanks
    Ken

    I used this from StackOverflow...
    <html>
    <head>
    <title>
    </title>
    <script lang='javascript'>
    function makeBlank(obj,defMsg){
        if(obj.value==defMsg){
            obj.value="";
    function fillDefValue(obj,defMsg){
        if(obj.value==""){
            obj.value=defMsg;
    </script>
    </head>
    <body>
    <input style="width:190px" onblur="fillDefValue(this,'User Name')" onfocus="makeBlank(this,'User Name')" value="User Name" name="fromname" id="fromname" type="text">
    </body>
    </html>
    Works nicely :-)

  • First ever Web Form - URL error

    Hi. I'm attempting to call my first Web form, but I'm getting this error:
    URL:
    http://springfield01:7777/forms/frmservlet?config=ttmsmenu
    ERROR:
    500 Internal Server Error
    Forms Servlet Error.
    Missing or invalid value for baseHTML parameter.
    Please check the servlet configuration to make sure this value specifies a valid file.
    My FormsWeb.Cfg file is posted below. Any help would be greatly appreciated!
    FORMSWEB.CFG:
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    # HTMLbodyAttrs=
    # immediately hide the applet parent window
    HTMLbodyAttrs=onLoad='javascript:self.moveTo(1601,1201)'
    # HTML to add before the form
    # HTMLbeforeForm=
    HTMLbeforeForm=<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    # imageBase=DocumentBase
    imageBase=/forms/java
    # Forms applet parameter
    #width=1000
    #width=100%
    width=500
    # Forms applet parameter
    #height=700
    #height=100%
    height=500
    # Forms applet parameter
    separateFrame=true
    # separateFrame=
    # Forms applet parameter
    splashScreen=no
    #splashScreen=ttmslogo_new.gif
    # Forms applet parameter
    background=no
    # background=
    # background=ttmslogo_new.gif
    # Forms applet parameter
    logo=ttms_banner.gif
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=/apps/oracle9i/product/oracleforms
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [ttmsmenu]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    width=500
    height=500
    background=no
    form=ttmsmenu.fmx

    # or by overriding them in a specific, named configuration (see below)
    [default]
    this line seems to start a named section that finishes nowhere.
    comment this line (put a # in front of it)
    FRancois

  • Submitting Web Form via Ajax Tutorial

    Any suggestions why following this tutorial: http://kb.worldsecuresystems.com/851/cpsid_85119.html?bc-partner results in the form submitting, but then loading up a white page with the following text?
    {"FormProcessV2Response": { "success": true, "entityId": "51918536", "objectTypeId": "Cases", "objectId": "7634958", "message": "<table class=\"tabledefault\"><tr><td id=\"title\"><strong>Summary of web form submission:<\/strong><br\/><!-- IP Address: 24.8.110.183 --><\/td><\/tr><tr><td id=\"name\"><strong>Your Name<\/strong><br\/>Brian <\/td><\/tr><tr><td id=\"email\"><strong>Email Address<\/strong><br\/><a href=\"mailto:[email protected]\">[email protected]<\/a><\/td><\/tr><tr><td id=\"casenumber\"><strong>Case Number<\/strong><br\/>7634958<\/td><\/tr><tr><td id=\"customfields\"><table class=\"tabledefault\"><tr><td id=\"CAT_Custom_409420\"><strong>Lesson<\/strong><br \/>Model Lesson<\/td><\/tr><tr><td id=\"CAT_Custom_409419\"><strong>Quiz Score Field<\/strong><br \/>90<\/td><\/tr><\/table><\/td><\/tr><\/table>" }}
    Success message is supposed to show on same page as form.
    Thx,
    Brian

    Hi,
    I managed to get this to work.....by modifying the code I found herr: User manual
    Below is my entire code....hope this helps!
    Kane
       <div id="message"></div>
    <form name="catwebformform57649" method="post" onsubmit="return checkWholeForm57649(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=10090&OID={module_oid}&OTYPE={module_otype}&EID={mo dule_eid}&CID={module_cid}&JSON=1" role="form" id="contact_form">
              <div class="col-sm-4">
                <div class="form-group">
                  <label for="name">Name</label>
                  <input type="text" class="form-control" name="FullName" id="FullName" placeholder="Enter name"  title="Please enter your name (at least 2 characters)"/>
                </div>
                <div class="form-group">
                  <label for="email">Email</label>
                  <input type="email" class="form-control" name="EmailAddress" id="EmailAddress" placeholder="Enter email" title="Please enter a valid email address"/>
                </div>
                <div class="form-group">
                  <label for="phone">Phone</label>
                  <input  class="form-control required digits" type="tel" name="CellPhone" id="CellPhone" size="30" value="" placeholder="Enter contact number" title="Please enter a valid phone number (at least 10 characters)">
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label for="comments">Comments</label>
                  <textarea name="CAT_Custom_869" id="CAT_Custom_869" class="form-control" cols="3" rows="5" placeholder="Enter your message…" title="Please enter your message (at least 10 characters)"></textarea>
                  <br>
                  <br>
                  <button name="submit" type="submit" class="btn btn-lg" id="submit"> Submit</button>
                </div>
              </div>
             <script type="text/javascript">
    function jqsub() {
    var $f = $('#contact_form');
    var $m = $('#message');
    $.ajax({
      type: 'POST',
      url: $f.attr('action') + '&JSON=1',
      data: $f.serialize(),
        success: function(msg) {
        var formResponse = eval(msg); // This line evaluates the JSON data and converts it to JSON object. In older version of jQuery you will have to evaluate JSON object as a string.
            if (formResponse.FormProcessV2Response.success) {
                    $m.addClass('success').fadeIn().html('<h3>Thanks for getting in touch. We will get back to you as soon as we can.</h3>');
                    $f.fadeOut(); //Hide the form
        error: function(msg) {
        alert('error'+msg);
        return false;
    </script>
               <script type="text/javascript" src="http://dla.com.sg/CatalystScripts/ValidationFunctions.js"></script><script type="text/javascript">
    //<![CDATA[
    var submitcount57649 = 0;function checkWholeForm57649(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FullName.value, "Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.CellPhone) why += isEmpty(theForm.CellPhone.value, "Phone Number"); if(why != ""){alert(why);return false;}if(submitcount57649 == 0){submitcount57649++;jqsub();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
            </form>

  • Adding Controls dynamically in the Infopath/Web form with dynamic controls

    Hello,
    The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
    if not possible then using customizations and SQL server.
    User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
    1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
    columns user can enter , how columns(static) will be created in the list ??
    2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
    we can manage it in SharePoint List OR any custom solution  ?  
    3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
    solution  ?  
    Vipul Jain

    >Lets say , the data for user selection is stored in two separate lists
    secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
    then you may use lookup column or would need to create two seperate data connection.
    >Do you think its a right approach ?
    multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
    >I'm planning to propose a custom .net form
    Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported.

    SharePoint 2007 custom (VS 2008) solution is upgraded to SharePoint 2013 using (VS 2012). I followed this approach.
    I had created new empty project (solution) in SharePoint 2013 using (VS 2012) compiled and deployed successfully. All safe controls are registered in the web.config file. After deploying solution i Restarted IIS also, still getting this error. How to resolve
    Error
    Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. Correlation ID: 5d217c9c-1827-7083-80cd-e095a30befee.
    Show Error Details
    Hide Error Details
    [UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Boolean isAppWeb, Guid guid, Guid solutionId, Nullable`1 solutionWebId, String assemblyFullName, String typeFullName, Boolean throwIfNotSafe)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
    <menu class="ms-hide" id="MSOMenu_WebPartMenu"><ie:menuitem id="MSOMenu_Minimize" text="Minimize" title="Collapse this web part." type="option"></ie:menuitem><ie:menuitem
    id="MSOMenu_Restore" text="Restore" title="Expand this web part." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Close" text="Close" title="Close this Web Part. You can still
    find it under closed Web Parts section in the insert ribbon. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/DelItem.gif" id="MSOMenu_Delete" text="Delete"
    title="Delete this Web Part from the page. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/EditItem.gif"
    id="MSOMenu_Edit" text="Edit Web Part" title="Change properties of this shared Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Connections"
    text="Connections" title="Show connections options for this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem
    id="MSOMenu_Export" text="Export..." title="Export this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/HelpIcon.gif" id="MSOMenu_Help"
    style="display:none;" text="Help" type="option"></ie:menuitem> </menu>        

    Hi Ashok,
    According to your description, my understanding is that you got an error after you re-built a SharePoint 2007 solution with VS2012, and deployed it.
    Make sure the Namespace and Type Name are consistent across all files where indicated. Also with matching case sensitivity. Verify web.config file and assembly in GAC or virtual directory bin folder in post deployment.
    More information, please refer to the link below:
    http://roykimsharepoint.wordpress.com/2013/04/27/classic-web-part-errors/
    Here is a similar post for you to take a look at:
    http://stackoverflow.com/questions/1689707/sharepoint-web-part-type-could-not-be-found-registered-as-safe
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • WPC - Custom Web Form - Cannot render container

    Hello!
    I've created custom web form for WPC (wpc_utg_sitelink) and gone through customizing provided in
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2041eb17-6001-2b10-b08d-b95ce55fa9b7&overridelayout=true]
    It looks fine at designtime.
    In runtime i get following:
    Cannot render container : Could not load stylesheet.com.sap.engine.lib.xml.util.
    NestedException: Error parsing query. -> java.lang.ArrayIndexOutOfBoundsException
    are there errors in my wpc_utg_sitelink.xsl file syntax?
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:wpc="com.sap.nw.wpc.km.service.linkmanager.XsltHelper">
    <xsl:output method="html"/>
    <xsl:template match="/">
    <span>
    <xsl:if test="starts-with(document/elements/element[@type='image'],'/')"></xsl:if>
    <h2>
    <a>
    <xsl:if test="string-length(document/elements/element[@type='itemlink']/@rid)!=0">
    <xsl:attribute name="href">
    <xsl:value-of select="wpc:getAccessLink(string(document/elements/element[@type='itemlink']/@rid))"/>
    </xsl:attribute>
    <xsl:if test="document/elements/element[@type='itemlink']/@targetnew='true'">
    <xsl:attribute name="target"> new </xsl:attribute>
    </xsl:if>
    </xsl:if>
    <xsl:value-of select="document/elements/element[@type='title']" disable-output-escaping="yes"/>
    </a>
    <xsl:if test="document/properties/property[@type='isnew']/@value)='true'">
    <span>New!</span>
    </xsl:if>
    </h2>
    <p>
    <xsl:value-of select="document/elements/element[@type='text']" disable-output-escaping="yes"/>
    </p>
    </span>
    </xsl:template>
    </xsl:stylesheet>
    Or may be some problems in customizing?
    Thanks!
    Edited by: Ivan O. Ivanov on Sep 21, 2009 5:15 PM

    solved!

  • Web-form errors/Its urgent

    ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page.
    Why above error occues in folllowing form:
    <div class="mid-container col2-left-layout" id="rowan" rel="pay">
    <div class="col-1">
    <div class="div-0ne">
    <div class="para-col1">
    <p><span>Rowan</span></p>
    <p><span>Document Solutions</span></p>
    <p> is a family-owned, recognized </p>
    <p> leader in ROI, document scanning</p>
    <p> and records</p>
    <p>management for the</p>
    <p>medical industry. </p>
    </div>
    <div class="free-quote"><img alt="" src="img/get-free.png" /> </div>
    </div>
    <div class="border-document">
    <div class="img-document">
    <img alt="" src="img/document-scan.png" />
    </div>
    <div class="para-document">
    <p>Document Scanning &amp; Records Management </p>
    </div>
    <div class="clr"></div>
    </div>
    <div class="border-document">
    <div class="img-document-circle">
    <img alt="" src="img/circle-img.png" />
    </div>
    <div class="para-document-roi">
    <p>ROI </p>
    <p>Release of Information) </p>
    </div>
    <div class="clr"></div>
    </div>
    <div class="border-document-new">
    <div class="para-document-roi-nr">
    <img alt="" src="img/trangle.png" />
    </div>
    <div class="para-document-recordes">
    <p>Request Your Records </p>
    <p>&amp; Pay Online </p>
    </div>
    <div class="clr"></div>
    </div>
    </div>
    <div class="col-2">
    <div class="about-documnett">
    <h1>PAY ONLINE </h1>
    </div>
    <div class="clr"></div>
    <div class="experience-h">
    <div class="payonline">
    <p class="para"> Have you received invoice from Rowan Document Solutions? You can securely pay on line and also retrieve the requested records online.</p>
    <p class="para">Just enter the requested information below exactly as shown on your Rowan Document Solutions invoice:
    </p>
    </div>
    <form name="catwebformform10549" method="post" onsubmit="return checkWholeForm10549(this)" enctype="multipart/form-data" action="http://rowan.creativeimagewebsites.com/FormProcessv2.aspx?WebFormID=29207&OID={module_oid}&amp;OTYPE={module_otype}&amp;EID={module_eid}&amp;CID={module_cid}">
        <table cellspacing="0" cellpadding="2" border="0" id="paytable" class="webform">
            <tbody>
                <!--- <tr>
                    <td><label for="Title">Title</label><br />
                    <select class="cat_dropdown_smaller" id="Title" name="Title">
                    <option value="1559314">DR</option>
                    <option value="1559313">MISS</option>
                    <option selected="selected" value="1559310">MR</option>
                    <option value="1559311">MRS</option>
                    <option value="1559312">MS</option>
                    </select></td>
                </tr>
                <tr>
                    <td><label for="FirstName">First Name <span class="req">*</span></label><br />
                    <input type="text" maxlength="255" class="cat_textbox" id="FirstName" name="FirstName" /> </td>
                </tr>
                <tr>
                    <td><label for="LastName">Last Name <span class="req">*</span></label><br />
                    <input type="text" maxlength="255" class="cat_textbox" id="LastName" name="LastName" /> </td>
                </tr>
                <tr>
                    <td><label for="EmailAddress">Email Address <span class="req">*</span></label><br />
                    <input type="text" maxlength="255" class="cat_textbox" id="EmailAddress" name="EmailAddress" /> </td>
                </tr>--->
                <tr>
                    <td><label for="CAT_Custom_131280">INVOICE NUMBER:</label></td>
                    <td>
                    <input type="text" size="30" maxlength="100" name="CAT_Custom_131280" id="CAT_Custom_131280" class="new-put" /></td>
                    <td> </td>
                </tr>
                <tr>
                    <td><label for="CAT_Custom_131281">ORGCODE/PO NUMBER:</label></td>
                    <td>
                    <input type="text" size="30" maxlength="100" name="CAT_Custom_131281" id="CAT_Custom_131281" class="new-put" /></td>
                    <td> </td>
                </tr>
                <tr>
                    <td><label for="CAT_Custom_131282">PATIENT'S LAST NAME:</label></td>
                    <td>
                    <input type="text" size="30" maxlength="100" name="CAT_Custom_131282" id="CAT_Custom_131282" class="new-put" /></td>
                    <td> </td>
                </tr>
                <!--<tr>
                    <td style=""> </td>
                    <td><input type="image" id="catwebformbutton" value="Submit" class="cat_button" src="/img/get-free.png" /></td>
                </tr>-->
            </tbody>
        </table>
        <script type="text/javascript" src="http://rowan.creativeimagewebsites.com/CatalystScripts/ValidationFunctions.js"></script>
        <script type="text/javascript">
    //<![CDATA[
    var submitcount10549 = 0;function checkWholeForm10549(theForm){var why = ""; if (theForm.CAT_Custom_131280) why += isEmpty(theForm.CAT_Custom_131280.value, "INVOICE NUMBER");if (theForm.CAT_Custom_131281) why += isEmpty(theForm.CAT_Custom_131281.value, "ORGCODE/PO NUMBER");if (theForm.CAT_Custom_131282) why += isEmpty(theForm.CAT_Custom_131282.value, "PATIENT'S LAST NAME");if(why != ""){alert(why);return false;}if(submitcount10549 == 0){submitcount10549++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
        <div class="payonline">
        <p class="para"><input type="image" src="/img/get-free.png" class="cat_button" value="Submit" id="catwebformbutton" /></p>
        </div>
    </form>
    </div>
    </div>
    </div>
    <div class="clr"></div>

    I am adding a form for the first time. I created a web form and I am using the code to adjust an existing form:
    <code>
    <form name="catwebformform81533" method="post" onsubmit="return checkWholeForm81533(this)"
                enctype="multipart/form-data" action="http://domain.businesscatalyst.com/FormProcessv2.aspx?WebFormID=74594&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}" id="form">
      <div class="span4">
    <input type="text" name="FirstName" id="FirstName" class="cat_textbox" maxlength="255" value="ingevuld"/>
    <input type="text" name="LastName" id="LastName" class="cat_textbox" maxlength="255" value="ingevuld" />
      <div class="field">
      <label>Name:</label>
      <input type="text" name="name" value="" id="name"/>
      </div>
      <div class="field">
      <label>Email:</label>
      <input type="text" name="email" value="" id="email" />
      </div>
      <div class="field">
      <label>Subject:</label>
      <input type="text" name="subject" value="" name="CAT_Custom_343661" id="CAT_Custom_343661" />
      </div>
      </div>
      <div class="span4">
      <div class="field">
      <label>Message:</label>
      <textarea rows="7" name="CAT_Custom_343660" id="CAT_Custom_343660"
                        onkeydown="if(this.value.length>=4000)this.value=this.value.substring(0,3999);"></textare a>
      </div>
                    <div class="field">
      {module_recaptcha}
                    </div>
      <div class="submitbutton clearfix">
      <input type="submit" value="Send Your Message" class="m-btn red rnd right"/>
      </div>
      </div>
                    <script type="text/javascript" src="http://domain.businesscatalyst.com/CatalystScripts/ValidationFunctions.js">
                    </script><script type="text/javascript">
    //<![CDATA[
    var submitcount81533 = 0;function checkWholeForm81533(theForm){var why = "";
    if (theForm.email) why += checkEmail(theForm.email.value);
    if (theForm.CAT_Custom_343661) why += isEmpty(theForm.CAT_Custom_343661.value, "Subject");
    if (theForm.CAT_Custom_343660) why += isEmpty(theForm.CAT_Custom_343660.value, "Message");
    if(why != ""){alert(why);return false;}if(submitcount81533 == 0){submitcount81533++;
    theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
      </form>
    </code>
    As you can see the FirsName and LastName have been added. I do still get the same error that I need to insert the form again. What am I missing here?

  • WPC - Custom Web Form: DOMException: Root Element is already present

    Hi experts,
    I'm trying to create a custom web form for my companies portal and I'm facing the following problem:
    I can create create articles with my new webform and everything is fine, but when the XSL Transformation is happing (eg. for viewing the content) i got following exception:
    Cannot render container : com.sap.engine.lib.xml.util.NestedException: org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child. -> org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child.
    I don't understand of which root element the parser is talking. Unfortunately I can't find any additional info to this.
    This is my Editor Document:
    <documenttype id="wpc_informatics_article" description="wpc_informatics_article" showpreview="true" showelementlist="true">
      <properties>
        <property id="name" description="xml.xlbl.name" type="inputfield" size="25" isrequired="true" isfilename="true" />
        <property id="createdBy" description="xml.xlbl.created_by" type="peoplepicker" size="25" isrequired="true"/>
        <property id="includeInRSS" description="xml.xckl.include_in_rss" type="checkbox" defaultvalue="false" property="wpc_wcm_rss"/>
        <property id="displayNewIcon" description="xml.xckl.display_new_icon" type="checkbox" defaultvalue="false" property="wpc_wcm_new"/>
      </properties>
      <elements> 
        <element id="heading1" description="xml.xlbl.heading1" type="inputfield" default="true" singleinstance="true" size="75" maxlength="75" nodelete="true"/>
        <element id="heading2" description="xml.xlbl.heading2" type="inputfield" size="50" default="true" />
        <element id="paragraph" description="xml.xlbl.paragraph" type="htmleditadvanced" default="true" />
        <element id="relatedLinks" description="xml.xlbl.related_links" type="wpclink" hastitle="true" />
      </elements>
    </documenttype>
    The created example content:
    <document document="wpc_informatics_article">
      <properties>
        <property type="name" prop_ns="http://sapportals.com/xmlns/cm" prop_name="displayname"/>
        <property type="createdBy">USER.R3_DATASOURCE.FAH</property>
        <property type="includeInRSS" prop_ns="wpc_wcm" prop_name="wpc_wcm_rss"/>
        <property type="displayNewIcon" prop_ns="wpc_wcm" prop_name="wpc_wcm_new"/>
      </properties>
      <elements>
        <element type="heading1">asdf</element>
        <element type="heading2">asdf</element>
        <element type="paragraph">adsfsadfsadfsadf</element>
      </elements>
      <relatedlinks/>
      <relatedfiles/>
    </document>
    and the xsl
    <?xml version="1.0"?>
    <!DOCTYPE stylesheet [
    <!ENTITY apos  "'" ><!-- replace &apos; with html escape character for ' -->
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wpc="com.sap.nw.wpc.km.service.editor.hslt.XsltHelperCore">
      <xsl:output method="html"/>
      <xsl:template match="/">
        <h1 id="informatics_h1"> <xsl:value-of disable-output-escaping="yes" select="document/elements/element[@type='heading1']" /> </h1>
        <h2 id="informatics_h2"> <xsl:value-of disable-output-escaping="yes" select="document/elements/element[@type='heading2']" /> </h2>
        <xsl:for-each select="document/elements/element">
          <xsl:if test="@type='paragraph'">
            <xsl:value-of disable-output-escaping="yes" select="current()" />
          </xsl:if>
          <xsl:if test="@type='relatedLinks'">
            <div id="informatics_related_links"> Siehe auch: <a>
              <xsl:attribute name="href"> <xsl:value-of disable-output-escaping="yes" select="wpc:getAccessLink(string(@rid), string(/document/@locale))"/> </xsl:attribute>
              <xsl:value-of disable-output-escaping="yes" select="@heading1"/> </a> </div>
          </xsl:if>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>
    maybe someone of you can help me with this! thank you in advance!
    Harald

    I found a solution for this.
    It seems that all of the XSL Transformation has to be covered by a div tag with css classes featurebox clearfixleft.
    <?xml version="1.0"?>
    <!DOCTYPE stylesheet [
    <!ENTITY apos  "'" ><!-- replace &apos; with html escape character for ' -->
    ]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                         xmlns:wpc="com.sap.nw.wpc.km.service.linkmanager.XsltHelper">
        <xsl:output method="html"/>
        <xsl:template match="/">
         <div class="featurebox clearfixleft">
           <h2 id="informatics_h1">
                   <xsl:value-of disable-output-escaping="yes" select="document/elements/element[@type='title']" />
         </h2>
         <xsl:for-each select="document/elements/element">
                 <xsl:if test="@type='heading1'">
                        <h2 id="informatics_h2">
                            <xsl:value-of disable-output-escaping="yes" select="current()" />
                        </h2>
                 </xsl:if>
                 <xsl:if test="@type='paragraph'">
                     <p><xsl:value-of disable-output-escaping="yes" select="current()" /></p>
                 </xsl:if>
          </xsl:for-each>
         </div>
      </xsl:template>
    </xsl:stylesheet>
    Edited by: Harald Falzberger on Mar 1, 2011 11:06 AM

  • Email web form

    so i am trying to make a web form with 3 text entrys options
    name:
    email:
    message:
    and i also want this web form to send to my email
    but no matter how many youtube tutorials i have followed it never seems to work i have been spending hours entering in many codes and every time it has failed and i am getting more and more frustrated
    could i pleese have some help as to what the code is so i can do this!
    thankyou heaps!

    im just going to paste the code to my whole page so you can see and the email is correct what should i save my php as at the moment it is send.php
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
        background-image: url();
        background-repeat: repeat;
        background-color: #333333;
    #apDiv1 {
        position:absolute;
        left:135px;
        top:194px;
        width:629px;
        height:203px;
        z-index:1;
    #apDiv2 {
        position:absolute;
        left:149px;
        top:90px;
        width:568px;
        height:90px;
        z-index:2;
    #apDiv3 {
        position:absolute;
        left:-226px;
        top:34px;
        width:901px;
        height:1px;
        z-index:1;
        background-color: #FFFFFF;
    a {
        font-family: Arial, Helvetica, sans-serif;
        font-style: normal;
        line-height: normal;
        font-variant: normal;
        color: #FFFFFF;
        text-decoration: none;
    -->
    </style>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    .style1 {font-family: Arial, Helvetica, sans-serif}
    body,td,th {
        color: #FFFFFF;
    #apDiv4 {
        position:absolute;
        left:146px;
        top:191px;
        width:901px;
        height:610px;
        z-index:3;
    -->
    </style>
    <style type="text/css">
    <!--
    #apDiv5 {
        position:absolute;
        left:370px;
        top:190px;
        width:1px;
        height:35px;
        z-index:4;
        background-color: #FFFFFF;
    #apDiv {
        position:absolute;
        left:450px;
        top:0px;
        width:1px;
        height:35px;
        z-index:4;
        background-color: #FFFFFF;
    #apDiv6 {
        position:absolute;
        left:145px;
        top:189px;
        width:901px;
        height:1px;
        z-index:5;
        background-color: #CCCCCC;
    #apDiv7 {
        position:absolute;
        left:-226px;
        top:0px;
        width:1px;
        height:35px;
        z-index:5;
        background-color: #FFFFFF;
    #apDiv8 {
        position:absolute;
        left:900px;
        top:-1px;
        width:1px;
        height:35px;
        z-index:4;
        background-color: #FFFFFF;
    #apDiv9 {
        position:absolute;
        left:821px;
        top:191px;
        width:1px;
        height:35px;
        z-index:4;
        background-color: #FFFFFF;
    #apDiv10 {    position:absolute;
        left:-301px;
        top:-1px;
        width:1px;
        height:35px;
        z-index:5;
        background-color: #FFFFFF;
    #apDiv11 {
        position:absolute;
        left:755px;
        top:111px;
        width:264px;
        height:54px;
        z-index:6;
    .style3 {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        color: #FFFFFF;
        font-weight: bold;
        font-size: 24px;
    #apDiv12 {
        position:absolute;
        left:327px;
        top:341px;
        width:540px;
        height:163px;
        z-index:7;
    #apDiv13 {
        position:absolute;
        left:281px;
        top:295px;
        width:518px;
        height:188px;
        z-index:7;
    #apDiv14 {
        position:absolute;
        left:838px;
        top:1px;
        width:280px;
        height:169px;
        z-index:1;
    #apDiv15 {
        position:absolute;
        left:144px;
        top:229px;
        width:401px;
        height:302px;
        z-index:8;
        background-color: #000000;
    #apDiv16 {
        position:absolute;
        left:114px;
        top:247px;
        width:469px;
        height:302px;
        z-index:7;
        background-color: #000000;
    #apDiv17 {
        position:absolute;
        left:-2px;
        top:329px;
        width:1235px;
        height:702px;
        z-index:9;
        background-color: #000000;
    #apDiv18 {
        position:absolute;
        left:409px;
        top:685px;
        width:168px;
        height:134px;
        z-index:10;
        background-color: #999999;
    #apDiv19 {
        position:absolute;
        left:137px;
        top:661px;
        width:235px;
        height:31px;
        z-index:11;
    #apDiv20 {
        position:absolute;
        left:438px;
        top:694px;
        width:152px;
        height:151px;
        z-index:13;
    #apDiv21 {
        position:absolute;
        left:430px;
        top:694px;
        width:170px;
        height:150px;
        z-index:12;
        background-color: #FFFFFF;
    #apDiv22 {
        position:absolute;
        left:468px;
        top:658px;
        width:185px;
        height:28px;
        z-index:14;
    #apDiv23 {
        position:absolute;
        left:615px;
        top:234px;
        width:421px;
        height:399px;
        z-index:15;
    .style5 {
        color: #CCCCCC;
        font-size: 13.3px;
    #apDiv24 {
        position:absolute;
        left:430px;
        top:700px;
        width:274px;
        height:170px;
        z-index:16;
        background-color: #D4D0C8;
    #apDiv25 {
        position:absolute;
        left:679px;
        top:636px;
        width:218px;
        height:47px;
        z-index:17;
    #apDiv26 {
        position:absolute;
        left:706px;
        top:680px;
        width:334px;
        height:75px;
        z-index:18;
    #apDiv27 {
        position:absolute;
        left:890px;
        top:708px;
        width:219px;
        height:117px;
        z-index:19;
    #apDiv28 {
        position:absolute;
        left:439px;
        top:679px;
        width:285px;
        height:237px;
        z-index:19;
    .style9 {
        font-size: 14px;
        color: #FFFFFF;
    #apDiv29 {
        position:absolute;
        left:137px;
        top:715px;
        width:61px;
        height:38px;
        z-index:20;
    .style10 {
        font-size: 55px;
        color: #0095A5;
    #apDiv30 {
        position:absolute;
        left:414px;
        top:756px;
        width:16px;
        height:30px;
        z-index:20;
    #apDiv31 {
        position:absolute;
        left:415px;
        top:786px;
        width:17px;
        height:50px;
        z-index:21;
    #apDiv32 {
        position:absolute;
        left:414px;
        top:698px;
        width:18px;
        height:41px;
        z-index:22;
    #apDiv33 {
        position:absolute;
        left:415px;
        top:818px;
        width:18px;
        height:59px;
        z-index:23;
    #apDiv34 {
        position:absolute;
        left:414px;
        top:725px;
        width:18px;
        height:61px;
        z-index:24;
    #apDiv35 {    position:absolute;
        left:370px;
        top:190px;
        width:1px;
        height:35px;
        z-index:4;
        background-color: #FFFFFF;
    #apDiv36 {
        position:absolute;
        left:764px;
        top:662px;
        width:278px;
        height:42px;
        z-index:25;
    #apDiv37 {
        position:absolute;
        left:142px;
        top:679px;
        width:235px;
        height:207px;
        z-index:26;
    .style14 {
        color: #CCCCCC;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
    .style15 {font-size: 12px}
    .style16 {
        color: #CCCCCC;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
    #apDiv38 {
        position:absolute;
        left:204px;
        top:903px;
        width:84px;
        height:22px;
        z-index:27;
    .style17 {
        color: #FFFFFF;
        font-family: Arial, Helvetica, sans-serif;
    #apDiv39 {
        position:absolute;
        left:455px;
        top:900px;
        width:88px;
        height:23px;
        z-index:28;
    #apDiv40 {
        position:absolute;
        left:0px;
        top:952px;
        width:1235px;
        height:235px;
        z-index:29;
        background-color: #42485E;
    #apDiv41 {
        position:absolute;
        left:592px;
        top:967px;
        width:68px;
        height:20px;
        z-index:30;
    .style18 {
        color: #FFFFFF;
        font-size: 12px;
    #apDiv42 {
        position:absolute;
        left:654px;
        top:967px;
        width:72px;
        height:20px;
        z-index:31;
    .style19 {
        color: #FFFFFF;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
    #apDiv43 {
        position:absolute;
        left:869px;
        top:965px;
        width:72px;
        height:17px;
        z-index:32;
    #apDiv44 {
        position:absolute;
        left:736px;
        top:965px;
        width:181px;
        height:17px;
        z-index:33;
    #apDiv45 {
        position:absolute;
        left:74px;
        top:958px;
        width:186px;
        height:78px;
        z-index:34;
    #apDiv46 {
        position:absolute;
        left:71px;
        top:993px;
        width:235px;
        height:151px;
        z-index:35;
    .style20 {color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
    #apDiv47 {
        position:absolute;
        left:71px;
        top:1011px;
        width:259px;
        height:93px;
        z-index:36;
    .style21 {
        font-size: 10px;
        color: #FFFFFF;
    #apDiv48 {
        position:absolute;
        left:71px;
        top:1028px;
        width:140px;
        height:90px;
        z-index:37;
    #apDiv49 {
        position:absolute;
        left:71px;
        top:1052px;
        width:263px;
        height:78px;
        z-index:38;
    #apDiv50 {
        position:absolute;
        left:71px;
        top:1069px;
        width:192px;
        height:58px;
        z-index:39;
    #apDiv51 {
        position:absolute;
        left:70px;
        top:1095px;
        width:184px;
        height:53px;
        z-index:40;
    #apDiv52 {
        position:absolute;
        left:71px;
        top:1112px;
        width:169px;
        height:36px;
        z-index:41;
    #apDiv53 {
        position:absolute;
        left:70px;
        top:1140px;
        width:181px;
        height:33px;
        z-index:42;
    .style22 {color: #FFFFFF}
    #apDiv54 {
        position:absolute;
        left:972px;
        top:1134px;
        width:227px;
        height:21px;
        z-index:43;
    -->
    </style>
    <style type="text/css">
    <!--
    a:link {
        color: #FFFFFF;
        text-decoration: none;
    a:visited {
        color: #FFFFFF;
        text-decoration: none;
    a:hover {
        color: #FFFFFF;
        text-decoration: none;
    a:active {
        color: #FFFFFF;
        text-decoration: none;
    #apDiv55 {
        position:absolute;
        left:49px;
        top:1px;
        width:1103px;
        height:157px;
        z-index:43;
    .style23 {font-size: 18px}
    #apDiv57 {
        position:absolute;
        left:312px;
        top:194px;
        width:120px;
        height:35px;
        z-index:44;
    #apDiv58 {
        position:absolute;
        left:493px;
        top:195px;
        width:238px;
        height:40px;
        z-index:45;
    #apDiv59 {
        position:absolute;
        left:746px;
        top:195px;
        width:213px;
        height:42px;
        z-index:46;
    #apDiv60 {
        position:absolute;
        left:278px;
        top:227px;
        width:354px;
        height:0px;
        z-index:47;
        background-color: #000000;
    #apDiv61 {
        position:absolute;
        left:273px;
        top:247px;
        width:516px;
        height:331px;
        z-index:47;
        background-color: #000000;
    #apDiv56 {
        position:absolute;
        left:167px;
        top:195px;
        width:74px;
        height:35px;
        z-index:43;
    #apDiv62 {
        position:absolute;
        left:694px;
        top:686px;
        width:222px;
        height:234px;
        z-index:47;
    #apDiv63 {
        position:absolute;
        left:764px;
        top:691px;
        width:265px;
        height:234px;
        z-index:47;
    .style25 {font-size: 14px}
    #apDiv64 {
        position:absolute;
        left:50px;
        top:4px;
        width:893px;
        height:381px;
        z-index:48;
    .style24 {    font-size: 24px;
        color: #FFFFFF;
    #apDiv65 {
        position:absolute;
        left:-2px;
        top:245px;
        width:1235px;
        height:333px;
        z-index:48;
        background-color: #000000;
    #apDiv66 {
        position:absolute;
        left:94px;
        top:249px;
        width:843px;
        height:354px;
        z-index:48;
    #apDiv67 {
        position:absolute;
        left:619px;
        top:11px;
        width:373px;
        height:77px;
        z-index:47;
    .style30 {    color: #009FAB;
        font-size: 18px;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
    #apDiv68 {    position:absolute;
        left:731px;
        top:138px;
        width:321px;
        height:50px;
        z-index:49;
    #apDiv69 {
        position:absolute;
        left:175px;
        top:269px;
        width:650px;
        height:341px;
        z-index:50;
    -->
    </style>
    </head>
    <div> 
    <body>
    <form action="" method="POST">
      <p>Name:
        <input type="text" name="name">
        <br>
      </p>
      <p>Email:
        <input type="text" name="email">
        <br>
      </p>
      <p>Message:</p>
      <p>
        <textarea name="message" cols="40" rows="7"></textarea>
        <br>
        <br>
        <input type="submit" name="submit" value="send" />
        <br>
        <br>
      </p>
    <div id="apDiv2"><img src="AQWA-Logo.png" width="200" height="80" /></div>
    <div class="style3 style22" id="apDiv11">CALL 0404 029 302</div>
    <div id="apDiv17"></div>
    <div id="apDiv40"></div>
    <div class="style1 style18" id="apDiv41"><a href="file:///C:/Documents%20and%20Settings/Donald/My%20Documents/AQWA%20water%20proofing /AqWA%20water%20proofing%20solutions%20home.html">HOME</a></div>
    <div class="style19" id="apDiv42"><a href="file:///C:/Documents%20and%20Settings/Donald/My%20Documents/AQWA%20water%20proofing /AqWA%20water%20proofing%20solutions%20services.html">SERVICES</a></div>
    <div class="style19" id="apDiv43"><a href="file:///C:/Documents%20and%20Settings/Donald/My%20Documents/AQWA%20water%20proofing /AqWA%20water%20proofing%20solutions%20contact.html">CONTACT</a></div>
    <div class="style19" id="apDiv44"><a href="file:///C:/Documents and Settings/Donald/My Documents/AQWA water proofing/AqWA water proofing solutions company profile.html">COMPANY PROFILE</a></div>
    <div class="style19" id="apDiv45">
      <p>AQWA Water Proofing Solutions</p>
      <p> </p>
    </div>
    <div class="style20" id="apDiv46">  Postal Address</div>
    <div class="style1 style21" id="apDiv47"> 12 Clydesdale Drive</div>
    <div id="apDiv48"><span class="style1 style21">Greenfields WA 6210</span></div>
    <div class="style1 style21" id="apDiv49">M: 0404029302</div>
    <div class="style1 style21" id="apDiv50">E: [email protected]</div>
    <div class="style1 style21" id="apDiv51">M: 0417096945</div>
    <div class="style1 style21" id="apDiv52">E: [email protected]</div>
    <div class="style1 style15 style22" id="apDiv53"><a href="file:///C:/Documents%20and%20Settings/Donald/My%20Documents/AQWA%20water%20proofing /AqWA%20water%20proofing%20solutions%20contact.html">EMAIL US NOW</a></div>
    <div class="style3 style23" id="apDiv56"><a href="index.html">HOME l</a></div>
    <div id="apDiv57"><span class="style3 style23"><a href="/AqWA water proofing solutions services.html">SERVICES l</a></span></div>
    <div id="apDiv58"><span class="style3 style23"><a href="/AqWA water proofing solutions company profile.html">COMPANY PROFILE l</a></span></div>
    <div id="apDiv59"><span class="style3 style23"><a href="/AqWA water proofing solutions contact us.html">CONTACT US l</a></span></div>
    <div id="apDiv68"><span class="style30">NEW AND RENOVATED HOMES</span></div>
    <script type="text/javascript">
    <!--
    </script>
    </form>
    </body>
    </html>
    PHP PAGE:
    <?php
    if(isset($_POST["submit"])){
        $to="[email protected]";
        $from=$_POST["email"];
        if($from == ""){
            echo "Please specify your email address";
            die();
        //At first the message is blank
        $message="";
        //Loop through all the field and put together the message
        foreach($_POST as $fieldName => $value){
            if($fieldName!="Submit"){
                $fieldValue=$value;
                $message=  $message."<b>$fieldName</b>: $fieldValue<br>";
        $html_header.= "\r\nContent-type: text/html;  charset=iso-8859-1;";
        $headers="From:".$from.$html_header;
        $subject="Message sent from web site";
        if(mail($to, stripslashes($subject),  stripslashes($message),$headers)){
            echo "The message has been sent";
            die();
        }else{
            echo "Error sending  message";
            die();
    ?>

Maybe you are looking for

  • Error while Testing the Inbound Function Module

    Hi,        I have created a Z Function Module (Posting Program) for Testing the EDI Shipment Tender Status. When I try to process the IDoc with the Transaction WE19 and when I enter the name of the Z function Module , it gives me an error saying that

  • HT3775 what do i need to play a .avi video ?

    i downloaded a video to watch and the format is as follows   xyz.avi when i go to play the video it keeps stating that quicktime cannot open.  so i look into it and it shows that ...... AVI (Motion JPEG only) which i beleive is the video i am trying

  • 3 Grades for 1 material

    Dear, I have 3 ranges which will decide Q1(Grade1) or Q2(Grade2) or Rejection For example: Material:1 Thickness for Q1 will be 10mm to 13 mm and Q2 thickness will be 13mm to 15mm. and finaly rejection if not ok for above value. can you please help me

  • Database issue URL

    I haven't used AW so much actually I've only made 2 or 3 documents. But I am learning. I was trying to make a database, everything going smoothly until I wanted to make a web link. I get to the menu of adding a link, but nothing is pressable, its all

  • Disable Throttling event from client side

    As a user of flash player, can i disable the Throttling event introduce from flash player 11.2?  I am using a pc and not using phone to play flash game, it hang when the screen not in focus or minimize.  Thanks.