Contact Page Form

Hi all
I am trying to have a basic contact form for my website with the following fields
Name*
Phone Number
Email Address*
Message*
and then Email to my Email address once submitted can anyone help me sort one out please?

Below is the HTML5 form.  Contact your host and ask them if they have form-to-email scripts you can use.  Some do; some don't.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Sample HTML5 Form</title>
<style>
/**BEGIN FORM STYLES**/
#form1 {
font-size: 14px;
width: 500px;
margin: 0 45px; /**adjust margins as needed**/
background: #FFF;
border: 2px groove green;
padding: 7px 14px 7px 14px;}
fieldset {
margin-bottom:5px;
border-right:none;
border-bottom:none;
border-left:none;
legend {
padding: 8px;
border: 1px solid silver;
background: #009900;
font-weight: bold;
color: #FFF;
line-height: 1.5;
margin-left: -45px;
/**for IE6 only**/
*margin-left:0;
/**wrap form lables and fields inside ordered lists for better web accessibility**/
#form1 ol {
list-style:none;
margin:0;
padding:0}
#form1 li {
padding:5px;
margin: 0;
clear: left;
#form1 label{
display:inline-block;
font-weight:bold:
float:left;
line-height: 23px; /**lines up labels with fields**/
width:167px;
font-size: 16px;
color: #666;
text-align:right;
margin-right: 10px; /*space between labels, fields*/
#form1 input,
#form1 textarea {
width: 190px; /**same width on text fields**/
padding: 5px;
color: #666;
border: 1px dotted #009900;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
/**field background on focus**/
input:focus,
input:active,
textarea:focus,
textarea:active
{background-color: #EBECDE; border: 1px solid;}
#submit {
background: #009900;
font-size: 18px;
color:#FFF;
font-weight: bold;
border: 2px outset #FFF}
#submit:hover,
#submit:focus,
#submit:active {
background: #006600;
color: yellow;
border: 2px inset #FFF}
/**END FORM STYLES**/
</style>
</head>
<body>
<!--BEGIN HTML FORM, action="path to form-processing script on your server" -->
<form id="form1" action="path/your-formtoemail-script.php" method="post" enctype="multipart/form-data" name="form1">
<h3>HTML Contact Form</h3>
<fieldset>
<legend>Required Fields:</legend>
<!--for trapping spam bots  -->
<input name="config" type="hidden" value="0">
<input type="text" id="nospam" style="display:none">
<ol>
<li>
<label for="name">Name:</label>
<input name="name" id="name" type="text" onClick="this.value='';" placehoolder="First and Last" required="required">
</li>
<li>
<label for="email">E-mail:</label>
<input name="email" type="email" id="email" placeholder="[email protected]" onClick="this.value=''" required="required">
</li>
</ol>
</fieldset>
<fieldset>
<legend>Optional Fields:</legend>
<ol>
<li>
<label for="phone">Phone:</label>
<input name="phone" id="phone" type="text" placeholder="123-456-7890">
</li>
<li>
<label for="message">Message:</label>
<textarea id="message" name="message" placeholder="250 characters max" onClick="this.value=''"></textarea>
</li>
<li>
<label for="submit"> </label>
<input type="submit" name="submit" id="submit" value="Submit">
</li>
</ol>
</fieldset>
</form>
<p><!--END OF FORM --></p>
</body>
</html>
Nancy O.

Similar Messages

  • Email form in a contact page

    Can anyone recommend a quick tutorial on how to create an email submission from on a contact page? I know I need some kind of php script, but I have no idea how to write one. I need to know how to have the info submitted in the form sent to an email address of my choosing.
    Thanks,
    Nick

    Take a peak (sic) here:
    paulgdesigns.com/learncontactform.php
    Gary
    Lookup email injection attack. Without injection sanitation your example script is an open invitiation to host spam. It only takes one line of code to sanitize your email script. Why not include the sanitation in your example?

  • Multiple page form to email with sessions doesn't send mail

    I am creating a multiple page form where a user can apply for finance. I am trying to use session to keep the user input values and then the last page sent the application by email.
    My problem is the last step where it doen't send the email. I'm not sure if it the session I'm using is wrong because a simple form without sessions works fine.
    here are the forms
    First page is the input for with variables
    <form action="Finance_form_proposal_Address.php" method="post" >
      <span id="sprycheckbox1">
      <input  name="Disclaimer" type="checkbox" value="yes">
      <span class="checkboxRequiredMsg">Please confirm that you have read and understood the Terms and Conditions.</span></span>
      <div id="F1"><table width="100%" border="1" align="center" cellpadding="3" cellspacing="2">
      <tr>
        <td align="right" bgcolor="#F7E4F8" ><strong>Title:</strong></td>
        <td align="left" bgcolor="#F7E4F8"><select name="Title">
              <option value="Mr">Mr</option>
              <option value="Mrs">Mrs</option>
              <option value="Miss">Miss</option>
              <option value="Ms">Ms</option>
              <option value="Dr">Dr</option>
              <option value="Rev">Rev</option>
            </select></td>
    etc..
    </form>
    The second form:
    Getting values and input new form
    <?php session_start();
    $_SESSION['Disclaimer'] = $_POST['Disclaimer'];
    $_SESSION['Title'] = $_POST['Title'];
    $_SESSION['Forname'] = $_POST['Forname'];
    $_SESSION['Middle_name'] = $_POST['Middle_name'];
    $_SESSION['Surname'] = $_POST['Surname'];
    $_SESSION['email'] = $_POST['email'];
    $_SESSION['DOB'] = $_POST['DOB'];
    $_SESSION['DOB2'] = $_POST['DOB2'];
    $_SESSION['DOB3'] = $_POST['DOB3'];
    $_SESSION['Gender'] = $_POST['Gender'];
    $_SESSION['checkboxGroup1'] = $_POST['checkboxGroup1'];
    $_SESSION['checkboxGroup2'] = $_POST['checkboxGroup2'];
    $_SESSION['home_phone'] = $_POST['home_phone'];
    $_SESSION['mobil'] = $_POST['mobil'];
    $_SESSION['marital_status'] = $_POST['marital_status'];
    $_SESSION['Occupancy'] = $_POST['Occupancy'];
    $_SESSION['Dependants'] = $_POST['Dependants'];
    ?>
    Form on second page
    <form action="Finance_form_proposal_Bank_Details_employment.php" method="post"> <input  name="Disclaimer" type="checkbox" value="yes">
        <div id="F1"><table width="100%" border="1" align="center" cellpadding="3" cellspacing="2">
      <tr>
        <td align="right" bgcolor="#F7E4F8" ><strong>Correspondence Address:</strong></td>
        <td align="left" bgcolor="#F7E4F8"><input name="Correspondence" type="checkbox" id="Correspondence" value="yes" checked="CHECKED">
          <label for="Correspondence"></label></td>
      </tr>
      <tr>
        <td bgcolor="#F7E4F8"><strong>Street:</strong></td>
        <td bgcolor="#F7E4F8"><input name="Street" type="text"></td>
      </tr>
      <tr>
        <td bgcolor="#F7E4F8"><strong>District:</strong></td>
        <td bgcolor="#F7E4F8"><input name="District" type="text"></td>
      </tr>
      <tr>
        <td bgcolor="#F7E4F8"><strong>Town:</strong></td>
        <td bgcolor="#F7E4F8"><input name="Town" type="text"></td>
      </tr>
    etc ..
    </form
    Third page
    Getting values
    session_start();
    $_SESSION['Correspondence'] = $_POST['Correspondence'];
    $_SESSION['Street'] = $_POST['Street'];
    $_SESSION['District'] = $_POST['District'];
    $_SESSION['Town'] = $_POST['Town'];
    $_SESSION['County'] = $_POST['County'];
    $_SESSION['Country'] = $_POST['Country'];
    $_SESSION['Years'] = $_POST['Years'];
    $_SESSION['Months'] = $_POST['Months'];
    $_SESSION['Street2'] = $_POST['Street2'];
    $_SESSION['District2'] = $_POST['District2'];
    $_SESSION['Town2'] = $_POST['Town2'];
    $_SESSION['County2'] = $_POST['County2'];
    $_SESSION['Country2'] = $_POST['Country2'];
    $_SESSION['Years2'] = $_POST['Years2'];
    $_SESSION['Months2'] = $_POST['Months2'];
    $_SESSION['Street3'] = $_POST['Street3'];
    $_SESSION['District3'] = $_POST['District3'];
    $_SESSION['Town3'] = $_POST['Town3'];
    $_SESSION['County3'] = $_POST['County3'];
    $_SESSION['Country3'] = $_POST['Country3'];
    $_SESSION['Years3'] = $_POST['Years3'];
    $_SESSION['Months3'] = $_POST['Months3'];
    Then there is a another form to fill in , wont show that as it is in principle the same.
    This is the last page that should sent the data to email:
    <?php
    session_start();
    /* Subject mail variables */
    $emailsubject = 'Finance application from PandKshop';
    $webmaster = '[email protected]';
    /* Gathering Data */
    $goods = $_POST['goods'];
    $amount = $_POST['amount'];
    $Total_Cash = $_POST['Total_Cash'];
    $Deposit = $_POST['Deposit'];
    $Balance = $_POST['Balance'];
    $Payments = $_POST['Payments'];
    $Diclaimer = $_SESSION['Disclaimer'];
    $Title = $_SESSION['Title'];
    $Forname = $_SESSION['Forname'];
    $Middle_name = $_SESSION['Middle_name'];
    $Surname = $_SESSION['Surname'];
    $email = $_SESSION['email'];
    $DOB = $_SESSION['DOB'];
    $DOB2 = $_SESSION['DOB2'];
    $DOB3 = $_SESSION['DOB3'];
    $Gender =  $_SESSION['Gender'];
    $CheckboxGroup1 = $_SESSION['CheckboxGroup1'];
    $CheckboxGroup2 = $_SESSION['CheckboxGroup2'];
    $home_phone = $_SESSION['home_phone'];
    $mobil_phone = $_SESSION['mobil_phone'];
    $marital_status = $_SESSION['marital_status'];
    $Occupancy = $_SESSION['Occupancy'];
    $Dependants = $_SESSION['Dependants'];
    $Correspondence = $_SESSION['Correnspondence'];
    $Street = $_SESSION['Street'];
    $District = $_SESSION['District'];
    $Town = $_SESSION['Town'];
    $County = $_SESSION['County'];
    $Country = $_SESSION['Country'];
    $Years = $_SESSION['Years'];
    $Months = $_SESSION['Months'];
    $Street2 = $_SESSION['Street2'];
    $District2 = $_SESSION['District2'];
    $Town2 = $_SESSION['Town2'];
    $County2 = $_SESSION['County2'];
    $Country2 = $_SESSION['Country2'];
    $Years2 = $_SESSION['Years2'];
    $Months2 = $_SESSION['Months2'];
    $Street3 = $_SESSION['Street3'];
    $District3 = $_SESSION['District3'];
    $Town3 = $_SESSION['Town3'];
    $County3 = $_SESSION['County3'];
    $Country3 = $_SESSION['Country3'];
    $Years3 = $_SESSION['Years3'];
    $Months3 = $_SESSION['Months3'];
    $Sort_Code          = $_SESSION['Sort_Code'];
    $Account = $_SESSION['Account'];
    $Years_with_Bank = $_SESSION['Years_with_Bank'];
    $Months_with_Bank = $_SESSION['Months_with_Bank'];
    $CreditCard = $_SESSION['CreditCard'];
    $ChequeCard = $_SESSION['ChequeCard'];
    $Employment = $_SESSION['Employment'];
    $income = $_SESSION['Income'];
    $Income2 = $_SESSION['Income2'];
    $Occupation = $_SESSION['Occupation'];
              $Body = <<<EOD
    <br><hr><br>
    Goods: $goods <br>
    Amount: $amount <br>
    Total Cash: $Total_Cash <br>
    Deposit: $Deposit <br>
    Balance: $Balance
    Nine Monthly Payments of : £ $Payments
    Title: $Title <br>
    Forname: $Forname <br>
    Middle Name: $Middle_name <br>
    Surname : $Surname <br>
    Email: $email <br>
    DOB: $DOB/$DOB2/$DOB3 <br>
    Gender: $Gender <br>
    Home_phone: $CheckboxGroup1 Mobile phone: $CheckboxGroup2 <br>
    Home Phone number: $home_phone <br>
    Mobile Phone number: $mobil_phone <br>
    Marital_Status: $marital_status <br>
    Occupancy : $Occupancy <br>
    Dependants: $Dependants <br>
    Correspondence Address: $Correspondence <br>
    Street: $Street <br>
    District: $District <br>
    Town: $Town <br>
    County: $County <br>
    Country: $Country
    Years: $Years
    Months: $Months
    Street2: $Street <br>
    District2: $District2 <br>
    Town2: $Town2 <br>
    County2: $County2 <br>
    Country2: $Country2
    Years2: $Years2
    Months2: $Months2
    Street3: $Street3 <br>
    District3: $District3 <br>
    Town3: $Town3 <br>
    County3: $County3 <br>
    Country3: $Country3 <br>
    Years3: $Years3 <br>
    Months3: $Months3 <br>
    Sort Code: $Sort_Code <br>
    Account: $Account <br>
    Years with the Bank: $Years_with_Bank <br>
    Months with the Bank: $Months_with_Bank <br>
    CreditCards: $CreditCard <br>
    Cheque Card: $ChequeCard <br>
    Employment: $Employment <br>
    Income: £$income <br>
    Income Frequency: $Income2 <br>
    Occupation: $Occupation <br>
    EOD;
              $headers = "From: $email\r\n";
              $headers .= "content-type: text/html\r\n";
              $succes = mail($webmaster, $emailsubject, $Body, $headers);
    session_destroy();
    /* Results rendered as HTML */
    $theResults = <<<EOD
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
    <head>
          <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
          <title>Thank you! The Piano and Keyboard Shop Online</title>
          <link rel="STYLESHEET" type="text/css" href="contact.css">
          <link href="The Piano and Keyboard Shop.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <h2>Thanks for your application!<br />
    We endavour to get back to you as soon as possible with application results</h2>
    Please contact us on 0116 2541053 if you have any questions regarding your finance application
    Return to <a href="../index_main.php">Home Page</a>
    <div id="advertising">
        <div id="add_left"><a href="Contact.php">Contact us</a><br>
          <a href="About.php">About us</a><br>
          <a href="Finance.php">Finance</a><br>
    </div>
        <div id="adds_middle"><a href="term-conditions.php">Terms and Conditions</a><br>
          <a href="Privacy-Policy.php">Privacy Conditions</a><br>
          <a href="FAQ.php">FAQ</a><br>
    </div>
        <div id="adds_right"><a href="http://www.youtube.com/user/KeysoundWebsite">Follow us on YouTube</a><br>
          <a href="https://twitter.com/KeysoundUK">Follow us on Twitter</a><br>
          <a href="https://www.facebook.com/pages/Keysound/163590297024385">Follow us on Face book</a><br>
    </div>
      </div>
      <div id="advertising"> <div id="copy"><img src="files/Images/copyright.gif" width="19" height="22">
    </div> </div>
    </body>
    </html>
    EOD;
    echo "$theResults";
    ?>
    Is there something wrong with my sessions or just something in the code?

    Standard Apple Mail. I'm running Yosemite 10.10.1, and I'm amazed to see that About Mail says it's Mail Version 8.1 (1993), copyright 1995-2014 Apple Inc. 
    Interesting thought, do you think that it doesn't like to work with itself?  Actually, I'm fairly sure I've had the problem inside of other apps but I should document that.  I'll keep notes to see where this happens. 

  • My Index and contact page has moved my top nav up

    I only changed my contact styles on my Index page and now my top nav has gone to the top. On my contact page I added two images so I understand I need to add some code to do with that but not sure how to get it back correct.
    When I veiw my contact page through my wamp server though it all looks fine that's why I uploaded it onto the live server.  Does anyone know why that should be?
    www.bristolequestrianservices.co.uk.  Can someone help please?
    Thanks
    </head>
    <body>
    <div id="outer">
    <div id="wrapper">
                        <div id="logo">
                      <img src="images/banner1.jpg" />
              </div>
              <div id="social-media-icons">
                      <ul>
                          <li><a href="https://www.facebook.com/groups/150449201771804/"><img src="images/icons/facebook.jpg" /></a></li>
                  <li><a href="£"><img src="images/icons/rss.jpg" /></a></li>
                  <li><a href="http://www.twitter.com"><img src="images/icons/twitter.jpg" /></a></li>
                  <li><img src="images/icons/youtube.jpg" /></li>
                </ul>
                        </div>
             <div id="contact">
         <p><span class="big-blue">Bristol Equestrian Service</span><br>
         Tel: 0117 9190060 / 07900538697<br>
         Email: [email protected]<br>
          [email protected]</p>    
         </div             
            ><div id="topnav">
                      <ul>
                          <li><a href="index.html">Home</a></li>
                    <li><a href="stablesandfieldshelters.html">Stable and Field Shelters</a></li>
                    <li><a href="pricelist.html">Price List</a></li>
                    <li><a href="gallery.html">Gallery</a></li>
                    <li><a href="contactus.html">Contact Us</a></li>
                </ul>
                        </div>
                        <div id="banner">
                      <img src="images/newbanner.jpg" />
                        </div>
    /* Containers */
    #outer                                         {  width:960px; margin:0 auto; background:#FFF; }
    #wrapper                               {  width:900px; margin:0 auto; background:#FFF; }
    #logo                                         {  margin: 30px 0; float:left; }
    #social-media-icons                              {  float:right; }
    #social-media-icons ul li          {display:inline; }
    #social-media-icons ul                    {margin-top:40px; }
    #social-media-icons2                    {  float:left; }
    #social-media-icons2 ul li          {display:inline; }
    #social-media-icons2 ul                    {margin-top:10px; }
    #topnav                               { clear:both;  }
    #topnav          ul                              { border-top:1px #000 solid; border-bottom:1px #000 solid;
                                                                margin:20px 0; padding:10px 0;           }
    #topnav ul li                    { display:inline; }
    #topnav ul li a                    { padding:0 15px; }
    #topnav a:link                              { color: #000;  }
    #topnav a:visited                    { color: #000;  }
    #topnav a:active                    { color: #000;  }
    #topnav a:focus                              { color: #666;  }
    #topnav a:hover               { color: #f90;  }
    #banner                                        { margin-bottom:30px;  }
    #rightside                               { width:200px; float:right   }
    #content                               { width:650px; float:left;  }
    #content-fullwidth          {width:100%; }
    #footer                               { clear:both; margin-top:20px 0; border-top:1px #ccc solid;

    /* Color Legend */
    /* Reset */
    Oops sorry copied it all!
    html, body { margin: 0; padding: 0; border: 0; 
                                            background: transparent; font-size:10px; }
    div, span, article, aside, footer, header, hgroup, nav, section,
    h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li,
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0;
              padding: 0;
              border: 0;
              vertical-align: baseline;
              background: transparent;
    img           { margin:0; padding:0; border:0; }
    table, tr, th, td, tbody, tfoot, thead {
              margin: 0; padding: 0; border: 0;
              vertical-align: baseline;
              background: transparent;
    table { border-collapse: collapse; border-spacing: 0; }
    input, select, textarea, form, fieldset {
              margin: 0; padding: 0; border: 0;
    article, aside, dialog, figure, footer, header, hgroup, nav, section {
              display:block; }
    h1, h2, h3, h4, h5, h6, p, li, blockquote, td, th, a, caption, em, strong, strike {
              font-family: Arial, Helvetica, sans-serif;
              font-size:100%;
              font-weight: normal;
              font-style: normal;
              line-height: 100%;
              text-indent: 0;
              text-decoration: none;
              text-align: left;
              color: #000;
    ol, ul { list-style: none; }
    /* Global */
    html           {          }
    body          { background: #960          }
    /* Headings */
    h1, h2, h3, h4, h5, h6 { font-weight: bold; }
    h1 { font-size:24px; color:#BB5E00;
              padding-bottom:15px; border-bottom:1px #ccc solid; margin-bottom:15px; }
    h2 { font-size:20px; color:#666 }
    h3 { font-size:16px; }
    h4 { font-size:20px; color: #666}
    h5 { font-size:14px; }
    h6 { font-size:14px; }
    h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; }
    /* Text Elements */
    p                     { color:#000; font-size:12px; line-height:150%; 
                                             margin:15px; 0; }
    p .left                              { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
    p .right                     { margin: 1.5em 0 1.5em 1.5em; padding: 0; }
    a                     {   }
    a:link                              { color: #00f;  }
    a:visited                    { color: #0f0;  }
    a:active                    { color: #000;  }
    a:focus                              { color: #666;  }
    a:hover               { color: #f00;  }
    blockquote            { color:#000; font-size:12px; }
    strong                { font-weight: bold; }
    em                                    { font-style: italic; }
    /* Images */
    /* Lists */
    ul                    {  }
    ol                    { list-style-type:decimal; }
    ul li                        { color:#000; font-size:12px; }
    ol li                         { color:#000; font-size:12px; }
    dl                    {            }
    dt                           {            }
    dd                    {           }
    /* Tables */
    table                 { width:100%; }
    tr                                        {          }
    .odd                              { background-color:#eee; }
    .even                              { background-color:#fff; }
    th                    { font-weight: bold; }
    thead, th              { background: #ccc; }
    tbody                              {   }
    th,td,caption           {           }
    caption                     {           }
    tfoot                 {          }
    .tfooter                    { background-color:#ccc; text-align:center; font-style:italic; }
    caption               { background: #efefef; }
    /* Miscellaneous */
    sup, sub              { line-height: 0; }
    abbr, acronym   { border-bottom: 1px dotted #666; }
    address               {            }
    del                   { background:#FFCECE; color:#f00; }
    code, pre                    { background-color:#FF9; padding:2px 0px; margin:4px 25px;
                                                      font-family:"Courier New", Courier, monospace; font-size:12px; font-weight:normal; line-height:150%;          }
    /* Containers */
    #outer                                         {  width:960px; margin:0 auto; background:#FFF; }
    #wrapper                               {  width:900px; margin:0 auto; background:#FFF; }
    #logo                                         {  margin: 30px 0; float:left; }
    #social-media-icons                              {  float:right; }
    #social-media-icons ul li          {display:inline; }
    #social-media-icons ul                    {margin-top:40px; }
    #social-media-icons2                    {  float:left; }
    #social-media-icons2 ul li          {display:inline; }
    #social-media-icons2 ul                    {margin-top:10px; }
    #topnav                               { clear:both;  }
    #topnav          ul                              { border-top:1px #000 solid; border-bottom:1px #000 solid;
                                                                margin:20px 0; padding:10px 0;           }
    #topnav ul li                    { display:inline; }
    #topnav ul li a                    { padding:0 15px; }
    #topnav a:link                              { color: #000;  }
    #topnav a:visited                    { color: #000;  }
    #topnav a:active                    { color: #000;  }
    #topnav a:focus                              { color: #666;  }
    #topnav a:hover               { color: #f90;  }
    #banner                                        { margin-bottom:30px; }
    #rightside h2 {
    font-size: 24px;
        color: #999;
        font-weight: normal;
        margin: 0 0 0 0;
        padding: 0 0 10px 0; /*top-right-bottom-left*/
    #rightside p {
        margin: 0 0 0 0;
        padding: 0 0 10px 0; /*top-right-bottom-left*/
    #rightside a {
        text-decoration: none;
        color: #7A7D42;
        font-size: 14px;
        padding: 0 0 15px 0; /*top-right-bottom-left*/
    #rightside a:hover {
    color:#BB5E00
    #rightside p {
        margin: 0 0 0 0;
        padding: 10px 0 10px 0; /*top-right-bottom-left*/
        border-bottom: 1px solid #ccc;
    #content                               { width:650px; float:left;  }
    #content-fullwidth          {width:100%; }
    #footer                               { clear:both; margin-top:20px 0; border-top:1px #ccc solid;
                                                       padding-bottom:20px; }
    .rowWrapper {
        overflow: hidden;
        margin: 0 0 15px 0;
    .details {
    width:286px;
    float:left;
    margin: 0 0 0 20px;
    padding: 15px 0 0 0;
    border-top: 2px solid #000;
    .details p {
    margin: 0;
    padding: 0 20px;
    #box1 {   }
    #box2 {  }
    #box3 {  }
    #box4 {  }
    #box5 {   }
    #box6 {   }
    #box7 {   }
    #box6 {  }
    #box9 {   }
    #box10 {   }
    /* Layout Extra */
    /* Navigation Extra */
    /* Forms */
    /* Forms */
    form ol { list-style-type:none; }
    form           { text-align:left; margin:20px;          }
    label           {
                        float: left; width: 150px; margin-top:5px;
                        text-align:right; display:block; background:none; font-weight:bold;
    submit          { background:none;           }
    input           {
                        width: 280px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    input:focus, textarea:focus          { background-color:#CCC; }
    textarea {
                        width: 280px; height: 150px; margin:0 0 16px 10px;
                        border:1px #bbb solid; padding:5px; background:none;
    select { margin-bottom:20px;          }
    .month { margin-left:155px;          }
    .submit {
                        width:90px; height:25px;
                        margin-left:160px;
                        font-size:12px;
    br                    { clear: left;           }
    .clear          { clear:both; }
    /* Miscellaneous  */
    .copyright-text          { font-size:80%; font-style:italic; color:#333; }
    .footer-text          { font-size:100%; font-style:normal; color:#000; text-align:center; }
    .title                              { font-size:18px; font-weight:bold; color:#333;  }
    .subtitle                    { font-size:14px; font-style:italic; color:#333;  }
    .artist                              { font-size:16px; font-weight:bold; color:#333;  }
    .author                              { font-size:14px font-weight:bold; color:#555;  }
    .editor                              { font-size:14px font-style:italic; color:#555;  }
    .pub-date                    { font-size:10px font-style:italic; color:#555; }
    .article-date          { font-size:10px font-style:italic; color:#555;  }
    .location                    { font-size:10px font-style:italic; color:#555;  }
    .float-right          { float:right; }
    .float-left                    { float:left; }
    .clear                              { clear:both; }
    .hide                              { display:none; }
    .block                              { display:block; }
    .inline                              { display:inline; }
    .first                              { font-weight:bold; }
    .last                              { font-weight:bold; }
    .left                              { font-weight:bold; text-align:left; }
    .right                              { font-weight:bold; text-align:right; }
    .added                { background:#D7D7FF; }
    .removed              { background:#FFCECE; color:#f00; }
    .changed                    { background:#FFB; }
    /* Success, info, notice and error/alert boxes - from Blueprint CSS Framework */
    .error, .alert, .notice, .success, .info {
              padding: 0.8em; margin-bottom: 1em; border: 2px solid #ddd; }
    .error, .alert           { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
    .notice                              { background: #fff6bf; color: #514721; border-color: #ffd324; }
    .success                       { background: #e6efc2; color: #264409; border-color: #c6d880; }
    .info                               { background: #d5edf8; color: #205791; border-color: #92cae4; }
    .error a           { color: #8a1f11; }
    .alert a           { color: #8a1f11; }
    .notice a   { color: #514721; }
    .success a  { color: #264409; }
    .info a                    { color: #205791; }
    #contact {
              float: right;
              clear: both;
    .big-blue {
         font-size:32px;
         color:#000;
               font-family:Monotype Corsiva;

  • Adobe error message on the contact page

    I have set-up a new form, copied the embed code and the form on the site's contact page was working correctly. This morning I see an Adobe error message.
    Contact page :  http://www.fradkinfineconstruction.com/fradkin_contact_white.html

    Hi;
    What is the error that you see?  What operating system and web browser are you using?
    I am able to view the contact page with the form, and was able to fill out and submit the form without error.
    Thanks,
    Josh

  • Contact page not working, please help

    Hi,
    I have a problem with my contact page,when I fill in the fileds,and click on SEND, the information is supposed to clear from the fields, and send to the specific email address,
    BUT
    what happens is the fields dont clear and nothing sends,
    I am hosting with spry.com, they support php, but for some reason they tried to say they cant do it for spam reasons??? I have given the read,write permissions  as per image
    <?php
    $sendTo = "[email protected]";
    $subject = "Enquiry from Your Website";
    $headers = "From: " . $_POST["name"] . "<" . $_POST["email"] .">\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-path: " . $_POST["email"];
    $message = "Company: " . $_POST["message"] . "\r\n" . "Subject: " . $_POST["message2"]. "\r\n" . "Message: " . $_POST["message3"];
    mail($sendTo, $subject, $message, $headers);
    ?>
    if i cant use this php code, is there any other way to use my flash contact page to send enquiries ?????
    any ideas would be highly appreciated,

    I dont have the button opened for editing, I was only looking for any other places where code might be,forget about the button being open,this is the right place where the code is, I've tried everything,
    Im getting to the point now where i dont think there is much i can do to get it working,
    As I described it my original post, I am with SPRY as my hosting,
    They have mentioned something about SPAM AND NOT ALLOWING php OR something,
    Besides using PHp for my contact page , is there any other way i can try the contact form but using some other way to parse my form????
    Thanks

  • Customization of the Contact Create form

    Hi Gurs,
    I am fuacing a Problem in the Contact Create form for customization.
    In this form while saving the contact it shows the pop up as "both first name and last name or atlease one should be filled for create contact" here my requirement is to make another 2 more fields phone and email as mandatory
    for that i have done forms personalization and done validation for those 2 fields in Custom.pll.
    Here whats happening is, as those two fields are required ,with out entering date to those fileds and given to first name only then clicking on the save button contact is creating but,when ever the fields in the form are mandatory(required) meens those should be filled other wise it will not allows us to save....why it is happening like this way???
    i tried using raise form trigger failure also in the custom.pll but no use.
    please help me to solve this issue.
    Thanks,
    Geetha.

    hi,
    Why can't u go for a PL/SQL procedure.
    that would more easy.
    And now , are using the query returned values for some display . In the sense . are you going to display these values in a web page or going write these values into a file.
    For both of the issues PL/SQL Procedure is a better option.
    bye,
    Trinath Somanchi.

  • Help needed getting contacts page to work

    Hi there,
    I’m new to flash programming, so please bear with me.
    I bought a flash template to customise to use for our wedding
    website. I’ve got pretty much most of it done, all except the
    contacts page, which I can’t get to work.
    I think I’ve narrowed the problem down to the feed into
    send_mail.php script, but any suggestions would be greatly
    appreciated (before my future wife kills me for wasting so much
    time on this when we could have got a simple html website –
    but where would be the fun in that?!)
    I've attached the Action script behind the contacts page
    (please excuse the Spanish – for some reason the scripts are
    littered with it – for those who need to know, boton =
    button, listo = ready, nombre = name, cuadro = picture).
    From what I can gather, the first bit deals with what happens
    when you click on the buttons (name and email), the second bit is
    for error checking what’s entered, such as whether the email
    address has a @ or .com. The last bit is to feed the results into a
    php file, which should forward the contents of the contacts page to
    me.
    Here’s my send_mail.php file
    <?php
    $nombre=$_POST['name'];
    $email=$_POST['email'];
    $phone=$_POST['company'];
    $comentarios=$_POST['msg'];
    $to="[email protected]";
    $subject="From flash form";
    $headers="From: \"$name\" <$email>";
    $message = "Company: $company\n\n";
    $message .= $msg;
    mail($to,$subject,$message,$headers);
    ?>
    And I've put this php file in the same directory of my
    website as all the other swf and fla files – is that correct?
    Should this work? Or have I made a mistake anywhere?
    Many thanks
    DM

    Okay is the php script you have included here, THE actual
    script that is on your website? (unchanged in it's contents)
    Because where it says:
    $to="[email protected]";
    You have to change that to your email, or the email you want
    the form contents to send to.
    -Yes you will put the .php file in the same directory as the
    .swf file-
    Also you need to check that the variable and instance names
    in the flash file match the names in the .php file.
    Example:
    "mail.nombre = nombre.text;
    mail.email = email.text;
    mail.phone = phone.text;
    mail.comentarios = comentarios.text;
    mail.Submit = true;"
    -This is what you have provided for the form, which does not
    match the .php file provided.
    If the instance name of the email section is "email" the php
    file will read like this:
    email=$_POST['email'];
    The name inside the apostrophes is the instance name of that
    box.
    Looking at the scripts you have provided the instances and
    variables in the form do not match the ones in the .php file.
    If I am wrong, you can send me the original file if you wish
    and I can most likely find the problem for you and fix it.
    Or if you need help assessing this, I can do it for you! =P
    my email is [email protected]
    Hope I helped.
    Cheers!

  • How do I print a blank contact page?

    I would like to print a blank contact page so that I can give it to new clients and they can write down all their information since my first meeting with them is usually not at my office and I don't have my computer with me. I realize this is low-tech, but it seems to be the best way. Anyway, it would be nice to have a blank contact page printed out with the light grey Name, Address, etc. fields. How do I do this?
    Thanks,
    Thad

    Thad:
    I'd recommend using TextEdit or Pages to design your own form.

  • Is there a way you can make a contact page with blank fields to put info. on iWeb and submit it to my email?

    is there a way you can make a contact page with blank fields to put info. on iWeb and submit it to my email?

    It depends on where you publish.
    MobileMe users need to use a form service or MailShoot...
    http://www.iwebformusicians.com/Website-Email-Marketing/Form-Service.html
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    If you publish to another server that supports php you can do it yourself...
    http://www.iwebformusicians.com/Website-Email-Marketing/Contact-Form.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • A smarter contact page?

    I want to keep email addresses off of a client's contact
    page, to help reduce spam and spoofing. My goal, if it's possible,
    is to have a small contact form next to each staff bio. When a
    visitor decides that Sam or Sally is the person to contact, the
    visitor will fill out the appropriate section.
    Then, when the reader clicks submit, Sally (or Sam) will get
    the info request. The visitor won't actually obtain an email untill
    receiving a reply.
    How would I do this?

    "nickymc" <[email protected]> wrote in message
    news:eo0ia5$q3h$[email protected]..
    >I want to keep email addresses off of a client's contact
    page, to help
    >reduce
    > spam and spoofing. My goal, if it's possible, is to have
    a small contact
    > form
    > next to each staff bio. When a visitor decides that Sam
    or Sally is the
    > person
    > to contact, the visitor will fill out the appropriate
    section.
    >
    > Then, when the reader clicks submit, Sally (or Sam) will
    get the info
    > request.
    > The visitor won't actually obtain an email untill
    receiving a reply.
    >
    > How would I do this?
    Just the same way you'd do any other form - for each staff
    person, create a
    form, set up the fields, set it to be sent to the proper
    person.
    Or is your question more about just how to send data from a
    form to an email
    address? You'll need a server-side script. The best place to
    start is
    usually asking your web host if they provide a mail form
    script.
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

  • Flash Contact Us Form

    Hey Everyone,
    I need to get a contact us form in a flash site to send an
    email to me when someone submits it. I bought a template (
    http://www.graphicworx.us/details.php?gid=100&sgid=&pid=252)
    and it has an area for contact us, but the form doesnt actually
    work. The template seemed easy enough to be able to get to that
    page, took some searching in there, so i just need to somehow add
    some action script that can send me the info.
    Any ideas?

    Please delete one occurance of this, it got double
    posted.

  • WebCenter Contact Us Form

    Hello, I need to create a "Contact Us" form in my custom webcenter application. Does anyone have a solution that they can provide?
    I created a Java class sendEmail.java (see below), how do I call the send method from a jspx page and pass in the values of several af:inputText components?
    package my.portal.application.portal;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class sendEmail
        String to,from,host,message;
        public void send(String xto, String xfrom, String xhost, String xmessage){
            setTo(xto);
            setFrom(xfrom);
            setHost(xhost);
            setMessage(xmessage);
            // Get system properties
            Properties properties = System.getProperties();
            // Setup mail server
            properties.setProperty("mail.smtp.host", host);
            // Get the default Session object.
            Session session = Session.getDefaultInstance(properties);
            try{
               // Create a default MimeMessage object.
               MimeMessage message = new MimeMessage(session);
               // Set From: header field of the header.
               message.setFrom(new InternetAddress(from));
               // Set To: header field of the header.
               message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
               // Set Subject: header field
               message.setSubject("AcqPortal Feedback");
               // Now set the actual message
               message.setText(getMessage());
               // Send message
               Transport.send(message);
            }catch (MessagingException mex) {
               mex.printStackTrace();
        public void setTo(String to) {
            this.to = to;
        public String getTo() {
            return to;
        public void setFrom(String from) {
            this.from = from;
        public String getFrom() {
            return from;
        public void setHost(String host) {
            this.host = host;
        public String getHost() {
            return host;
        public void setMessage(String message) {
            this.message = message;
        public String getMessage() {
            return message;
    }

    That's basic ADF/JSF.
    Register your class as a managed bean in the faces-config.xml
    Add accessors for your to, from and message attribute:
    public void setTo(String to){this.to = to;}
    public String getTo(){return to;}Also change the signature of your send method to
    public void send(ActionEvent e)Same for from and message.
    On your JSPX page add the inputText for the fields:
    <af:inputText value="#{yourBean.to}" id="txtTo"/>
    <af:inputText value="#{yourBean.message}" rows="5" id="txtMessage"/>
    And then the button that will execute the command:
    <af:commandButton actionListener="#{yourBean.send}" text="Send Mail"/>
    This should give enough guidance :)
    You can also read this part of my tutorial: http://yonaweb.be/webcenter_tutorial/part_6_building_taskflow_and_consuming_it_webcenter_portal
    It should give basic info on how to write forms and pass info to managed beans.

  • HOW DO I ADD A CALENDAR PAGE TO MY WEBSITE AND A CONTACT PAGE TO COLLECT INFORMATION FROM CUSTOMERS?

    I am almost finished with my first IWeb site and I need to add a calendar for upcoming events and a contact page for my current and future customers to send me their information.  How do I do this? 

    Since MMe will be no more in about 11 months I suggest you create a Google calendar and imbed it into one of your web pages like in this demo page: Google calendar.
    OT

  • How to Add barcodes at the end of a 3 page form to capture data

    I am working on a multiple pages form that contain a paper form barcode I decide to put all paper form barcodes in the last page. How do I get the data fields to be assigned to different barcodes at the end of the page.
    How do I remove the red x on the barcode.
    I calculate that my form will have approx 2000-3000 chacracters how many barcodes will I need to put
    I am using Designer 7
    George Ward

    With Designer 7.x you will have to wrap each of the data sets on each of the pages in a subform and then with each of your barcodes, select the subform that you would like to collect data from.
    Your life would be made much easier if you upgraded to Designer 8.x as you could create "collections" and then associate those collections to each of your barcodes.
    With 3,000 characters of data you would more than likely be looking at 3 separate barcodes. The capacity does depend on the type of data your capturing but you should be covered with 3.
    Lee

Maybe you are looking for

  • Annotated PDF from Preview will not display annotations in iPad mail

    I have an Annotated PDF from Preview will not display annotations in iPad mail, yet, it will display them on my Macbook Air. I confirmed this with another iPad user. Same results. Any ideas.

  • JAXB 2.0 Support for OC4J 10.1.3.3

    http://java2go.blogspot.com/2008/01/jaxb-10-vs-20-in-jdeveloper-10g.html This blog entry talks about how to get JAXB 2.0 in JDeveloper 10g. I want to know whether JAXB 2.0 is supported or not for OC4J 10.1.3.3, before i start using it in JDeveloper.

  • Version 6 upgrade fails with -1603 error

    I just got a Shuffle. I had iTunes 5.xx installed. Message suggested I should upgrade to 6, so I downloaded the installer. Installation of 6 fails with -1603 error. Tried uninstalling iTunes as a remedy, but iTunes doesn't appear in Windows Uninstall

  • HT5766 problems with download

    Im trying to install a newer version of itunes onto my computer, Ive tried 10.6.3 and 11.0.3 and it keeps giving me and error code 2749 I think ad will not finish the downloa

  • Crs not start

    Hi oracle cluster version 11.2 o/s windows 2008R2 i was install oracle cluster success and when i was check crsctl check crs all was online and clufy stage -post crsinst was success i left few days and now the out put of crsctl check crs is crs-4638