Contact form (send error)

Here is the error.
Parse error:  syntax error, unexpected $end in /home/bonesaw/public_html/contactformprocess.php on line 28
here is the php
<?php
/* Subject and Email Variables */
    $emailSubject = 'Crazy PHP Scripting!';
    $webMaster = '[email protected]';
/* Gathering Data Variables */
    $nameField = $_Post['name'];
    $emailField = $_Post['email'];
    $messageField = $_Post['message'];
    $body = <<<EOD
<br><hr><br>
Email: $email <br>
Name: $name <br>
Message: $message <br>
EOD;
    $headers = "From: $email\r\n";
    $headers .= "Content-type: text/html\r\n";
    $success = mail ($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
    $theResults = <<<EOD
EOD;   
echo "$theResults";
?>
here is the form
  <div id="body">
    <div class="content" id="bodyContent">
      <h3>Get in touch</h3><br />
      <hr />
      <p> If you think I'd be a good fit for your upcoming project or have any questions, feel free to contact me using the form below or email me at [email protected]</p><br />
      <div id="formwrapper">
        <form action="contactformprocess.php" method="post">
            <fieldset class="first">
              <h2>
                <label class = "labelOne" for="name">» Name: </label>
                <input name="name" id="name" />
                <label for = "email">» Email: </label>
                <input name="email" id="email" />
                <label for = "Message">» Message: </label>
                <textarea name="message" ></textarea>
              </h2>
        </fieldset>
            <fieldset>
            <input class="btn" name="submit" type="submit" value="Send Message" />
            </fieldset>
        </form>
      </div><!--formwrapper end!-->
    </div><!--bodyContent end!-->
  </div> <!--body end!-->

fixed it!
Spacing problem!

Similar Messages

  • How can I make my Contact Form send info to my email?

    Greetings! I have below a contact form that i have creaed with some help but I can't seem to make it send the information to my email address after it is submitted. That is my most important issue right now.
    A secondary issue is, can I make it so once this form is submitted it send the info to my email without doing a page redirect?
    Thanks in advance!

    Ok what about this code located at www.ybcreations.com/ContactTest.php?
    <?php
    // Set email variables
    $email_to = '[email protected]';
    $email_subject = 'BestMarketingNames Inquiry';
    // Set required fields
    $required_fields = array('fullname','email','comment');
    // set error messages
    $error_messages = array(
              'fullname' => 'Please enter a Name to proceed.',
              'email' => 'Please enter a valid Email Address to continue.',
              'comment' => 'Please enter your Message to continue.'
    // Set form status
    $form_complete = FALSE;
    // configure validation array
    $validation = array();
    // check form submittal
    if(!empty($_POST)) {
              // Sanitise POST array
              foreach($_POST as $key => $value) $_POST[$key] = remove_email_injection(trim($value));
              // Loop into required fields and make sure they match our needs
              foreach($required_fields as $field) {
                        // the field has been submitted?
                        if(!array_key_exists($field, $_POST)) array_push($validation, $field);
                        // check there is information in the field?
                        if($_POST[$field] == '') array_push($validation, $field);
                        // validate the email address supplied
                        if($field == 'email') if(!validate_email_address($_POST[$field])) array_push($validation, $field);
              // basic validation result
              if(count($validation) == 0) {
                        // Prepare our content string
                        $email_content = 'New Website Comment: ' . "\n\n";
                        // simple email content
                        foreach($_POST as $key => $value) {
                                  if($key != 'submit') $email_content .= $key . ': ' . $value . "\n";
                        // if validation passed ok then send the email
                        mail($email_to, $email_subject, $email_content);
                        // Update form switch
                        $form_complete = TRUE;
    function validate_email_address($email = FALSE) {
              return (preg_match('/^[^@\s]+@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email))? TRUE : FALSE;
    function remove_email_injection($field = FALSE) {
       return (str_ireplace(array("\r", "\n", "%0a", "%0d", "Content-Type:", "bcc:","to:","cc:"), '', $field));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <!-- Contact Form Designed by James Brand @ dreamweavertutorial.co.uk -->
    <!-- Covered under creative commons license - http://dreamweavertutorial.co.uk/permissions/contact-form-permissions.htm -->
              <title>Contact Form</title>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <link href="Billy testing/ContactForm.css" rel="stylesheet" type="text/css" />
              <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.0/mootools-yui-compressed.js"></script>
        <script type="text/javascript" src="Billy testing/validation/validation.js"></script>
              <script type="text/javascript">
    var nameError = '<?php echo $error_messages['fullname']; ?>';
                        var emailError = '<?php echo $error_messages['email']; ?>';
                        var commentError = '<?php echo $error_messages['comment']; ?>';
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        </script>
    </head>
    <body onload="MM_preloadImages('Billy testing/x.png')">
    <div id="formWrap">
    <h2>We appreciate your business</h2>
    <div id="form">
    <?php if($form_complete === FALSE): ?>
    <form action="ContactTest.php" method="post" id="comments_form">
              <div class="row">
              <div class="label">Your Name</div> <!--end .label -->
              <div class="input">
              <input type="text" id="fullname" class="detail" name="fullname" value="<?php echo isset($_POST['fullname'])? $_POST['fullname'] : ''; ?>"/><?php if(in_array('fullname', $validation)): ?><span class="error"><?php echo $error_messages['fullname']; ?></span><?php endif; ?>
              </div><!-- end. input --><!-- end .context -->
              </div><!-- end .row -->
        <div class="row">
              <div class="label">Your Email Address</div> <!--end .label -->
              <div class="input">
              <input type="text" id="email" class="detail" name="email" value="<?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>"/><?php if(in_array('email', $validation)): ?><span class="error"><?php echo $error_messages['email']; ?></span><?php endif; ?>
              </div><!-- end. input --><!-- end .context -->
              </div><!-- end .row -->
        <div class="row">
              <div class="label">Comments</div> <!--end .label -->
              <div class="input">
              <textarea id="comment" name="comment" class="mess"><?php echo isset($_POST['comment'])? $_POST['comment'] : ''; ?></textarea><?php if(in_array('comment', $validation)): ?><span class="error"><?php echo $error_messages['comment']; ?></span><?php endif; ?>
              </div><!-- end. input -->
              </div><!-- end .row -->
        <div class="submit">
        <input type="submit" id="submit" name="submit" value="Send Message" />
        </div><!-- end .submit-->
        </form>
         <?php else: ?>
    <p style="font-size:25px; font-family:Arial, Helvetica, sans-serif; color:#255E67; margin-left:25px;">Thank you for your Message!</p>
    <script type="text/javascript">
    setTimeout('ourRedirect()', 5000)
    funtion ourRedirect(){
              location.href='contact.html'
    </script>
    <?php endif; ?>
    </div><!-- end #form-->
    </div>
    <p> </p>
    <!-- end formwrap -->
    </body>
    </html>

  • Phone version: Contact form "Send" button not working

    The "Send" button on the contact form works when used through a laptop browser, but doesn't work in a cell phone browser.  I've tried it with an iPhone 6 and Samsung Dart.  Any help is appreciated.
    Phone:
    http://www.landcordesign.com/phone/index.html
    Desktop / Laptop:
    http://www.landcordesign.com/index.html
    Thanks for the help,
    Jack

    Sanjit,
    I uploaded the file to box.com (Adobe Muse - Box).  Let me know what I need to do to fix the problem.
    Thanks,
    Jack

  • Simple contact form php error

    I just replaced an adobe formscentral contact form with the muse simple contact form. It is not working, receiving a php server error when submitting. How can I fix this?? I'm hosting through Amazon Route53.
    Issue is here: CONTACT

    Hi,
    I was able to submit the form, kindly let me know if you are still facing the issue.
    Regards
    Sonam

  • Contact Form Submission Error

    I've got a website on which there is a "Contact Us" form. I have set the submit button to send the form to the email address [email protected] This is the address associated with my Adobe ID. However, instead of receiving a simple form submission, I get the e-mail that I've attached below.

    Have you heard about this workaround? I attempted it, but it didn't work for me.
    "You then need to edit the following: ( line 103 )
    function get_email_headers($to_email, $form_email) {
      $headers = 'From: ' . $to_email . PHP_EOL;
      $headers .= 'Reply-To: ' . $form_email . PHP_EOL;
      $headers .= 'X-Mailer: Adobe Muse CC 2014.2.0.284 with PHP' . PHP_EOL;
      $headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
      return $headers;
    This needs changing to the following:
    function get_email_headers($to_email, $form_email) {
    $headers = 'From: ' . $to_email . PHP_EOL;
    $headers .= 'Reply-To: ' . $form_email . PHP_EOL;
    $headers .= 'MIME-Version: 1.0' . PHP_EOL;
    $headers .= 'X-Mailer: Adobe Muse CC 2014.2.0.284 with PHP' . PHP_EOL;
    $headers .= 'Content-type: text/html; charset=utf-8' . PHP_EOL;
    return $headers;
    The form will now work with hotmail, Gmail etc etc
    Hope this helps anyone having the same problem "

  • April 1 2013 - contact form not sending - need a review of code - see below

    i have a html5 responsive design for website - tested out the contact page and the [email protected] email links in the about and at bottom of website in dreamweaver CS5 on my computer and it works - these do not work when tested from iphone or other computer - can you review the code below and provide any soultions to get the email links and the contact page to work?
    <div class="space"> </div>
            <div class="clear"> </div>      
            <div class="clear"> </div>
          </div>
        </div>
        <div class="page" id="contact">
          <!-- page contact -->
          <h3 class="page_title"> Let's Get Started</h3>
          <div class="page_content">
            <fieldset id="contact_form">
              <div id="msgs"> </div>
              <form id="cform" name="cform" method="post" action="">
                <input name="name" type="text" class="whitetextcontent" id="name" onfocus="if(this.value == 'Full Name*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Full Name*'" value="Full Name*" />
                <input name="email" type="text" class="whitetextcontent" id="email" onfocus="if(this.value == 'Your Email Address*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Your Email Address*'" value="Your Email Address*" />
                <input name="subject" type="text" class="whitetextcontent" id="subject" onfocus="if(this.value == 'Subject*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Subject*'" value="Subject*" />
                <textarea name="message" class="whitetextcontent" id="message" onfocus="if(this.value == 'Your Message*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Your Message*'">Your Message*</textarea>
                <button id="submit" class="button"> Send Message</button>
              </form>
            </fieldset>
            <div class="clear"> </div>
          </div>
        </div>
        <div class="footer">
          <p><a href="mailto:[email protected]">© 2013 Karen P White Design, LLC</a></p>
        </div>
      </div>

    greetings everyone -
    thank  you for your quick replys - i reviewed and did some digging .....
    to answer some of your Qs:
    J Carp:  thanx for noting the blank between""   i found a contact.php file and added "[email protected]" between the "" so it would point to the PHP script that processes the form.
    M summers: the forms code is in php for the contact forms subscription.  index html for the main page and contact.php for form part
    Nancy O - not sure i understand this fully "
    "mailto: links only work on devices that have dedicated e-mail software installed on them.  If the end user doesn't have e-mail software, the mailto link does nothing.".... "
    Best practice is to use a form-to-email processing script that hides your address from robots and has spam prevention built in.
    Contact your web host.  Many hosts provide scripts on their servers which you can activate through your Admin Panel or by referencing the script in your form's action attribute.
         <form action="path-on-server/form-to-email-script.php">"
    BUT it helped me to see that i had to dig and look for other files that needed editing. thanx
    i have done testing from different browsers on different computers for the contact form send/submit page and it is working so far.
    thank you all for this information - it all has helped. i will be reviewing the email "mailto" href link now to see if that works....
    KPW

  • Error in email contact form, 'after sending'...

    There seems to be an error in the email contact form, 'after sending'...
    i want it to direct to a 'thanks for your email page in the mobile site i'm building, however you get the page unavailable message. all links seem to be OK, it's a very simple site.
    Anyone know if there's a known issue with this?

    what's the URL for your site where you're seeing this error?

  • DW CS5, Sending contact form results to email with page redirection using php script

    I am currently building a site from scratch with Dreamweaver, with the intent of replacing my current website layout that was designed using Intuit's website builder. My dreamweaver site is not online, but i have setup a local test server on my computer, using XAMPP, and i have an apache server with a MySQL database and a mercury mailserver running. I mention that in case it makes a difference in your answers. If necessary, I can include those settings, but that may be asking too much.
    I have an html contact form for users to schedule service appointments. I need the resulting actioned php file to do the following after submit is clicked: verify certain fields have been entered; prevent spammers or verify human visitors; send the form results to a (hidden from public view of any kind) email address; redirect user to a confirmation page, or an error page.
    I found the following code but being less than a newbie im not sure what needs to be changed, or if its even the right script i should be using:
    5 <?php
    6 $email = $_POST['email'];
    7 $mailto = '[email protected]';
    8 $mailsubj = 'You Have a Service Request';
    9 $url = '/MyLandingPage.html';
    10 $req = '0';
    11 $mailbody = "Results from form:\r\n";
    12 $space = ' ';
    13 $line = '
    14 ';
    15 foreach ($_POST as $key => $value)
    16 {
    17 if ($req == '1')
    18 {
    19 if ($value == '')
    20 {echo "$key is empty";die;}
    21 }
    22 $j = strlen($key);
    23 if ($j >= 20)
    24 {echo "Name of form element $key cannot be longer than 20 characters";die;}
    25 $j = 20 - $j;
    26 for ($i = 1; $i <= $j; $i++)
    27 {$space .= ' ';}
    28 $value = str_replace('\r\n', "$line", $value);
    29 $conc = "{$key}:$space{$value}$line";
    30 $text .= $conc;
    31 $space = ' ';
    32 }
    33 mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    34 echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    35 ?>
    Can anyone please illuminate me on what I need?
    Thank You in advance

    Take a read here, this might enlighten you a little.
    http://www.paulgdesigns.com/learncontactform.php
    You are doing this with your local testing server, is it set up to email?
    Gary

  • AS2 contact form and php - works fine but only sends half of the text in the comments field ???

    hi all - i have an AS2 contact form using php to send the info to my email address - it all works fine except this ..... rather than having an empty comments box in the flash movie i had added a whole bunch of feedback questions that the user can comment yes/no to in the comments box (my feedback questions were added into the input text box in cs3 so are there when the user opens the contact page .. i have set the maximum characters to 10000 so no worries that its that that is stopping it all coming through in the email ..... basically when i go to my form online and send it i get it through as an email but with only three quarters of the feedback text in it ...... i have tried a zillion ways a round this, tried other contact forms and php and always end up with the same problem ... any ideas any one ?
    this is the AS....
    stop();
    a =0;
    function validate () {
        if (from.length>=7) {
            if (from.indexOf("@")>0) {
                if ((from.indexOf("@")+2)<from.lastIndexOf(".")) {
                    if (from.lastIndexOf(".")<(from.length-2)) {
                        a = 1;
                        // email is fine
    function formcheck () {
        validate ();       
        trace(a);
        if (fname = "" or telno eq "" or comments eq "" or from eq "") {
            stop();
            error = "You have left blank fields, please fill in all fields, thank you";
        } else {
            emailcheck ();
    function emailcheck (){
        if (a != 1){
            stop();
            error = "Email address not valid";
            } else {
            loadVariablesNum("mail.php3", 0, "POST");
            gotoAndStop(2);
    ..........this is the php
    <?php
    $adminaddress = "[email protected]";
    $sitename = "Flash Site Form Mailer";
    mail("$adminaddress","Info Request",
    "A customer at $sitename has made the following enquiry\n
    First Name: $name
    Company Name: $company
    Telephone: $telno
    Email: $from\n
    The visitor commented:
    $comments
    Logged Info :
    Using: $HTTP_USER_AGENT
    Hostname: $ip
    IP address: $REMOTE_ADDR
    Date/Time:  $date","FROM:$adminaddress");
    ?>
    any help much appreciated

    i think you should not use $HTTP_USER_AGENT.
    and use loadvars instead of loadvariablesnum:
    stop();
    a =0;
    function validate () {
        if (from.length>=7) {
            if (from.indexOf("@")>0) {
                if ((from.indexOf("@")+2)<from.lastIndexOf(".")) {
                    if (from.lastIndexOf(".")<(from.length-2)) {
                        a = 1;
                        // email is fine
    function formcheck () {
        validate ();       
        trace(a);
        if (fname = "" or telno eq "" or comments eq "" or from eq "") {
            stop();
            error = "You have left blank fields, please fill in all fields, thank you";
        } else {
            emailcheck ();
    var sendLV:LoadVars=new LoadVars();
    function emailcheck (){
        if (a != 1){
            stop();
            error = "Email address not valid";
            } else {
    sendLV.name=fname;
    sendLV.telno=telno;
    sendLV.company=company;  //assuming company is a variable in your flash
    sendLV.comments=comments;
    sendLV.send("mail.php3", "POST");
            gotoAndStop(2);
    //..........this is the php
    <?php
    $adminaddress = "[email protected]";
    $sitename = "Flash Site Form Mailer";
    $from=?;//you need to define this variable
    $name=$_POST['name'];
    $telno=$_POST['telno'];
    $company=$_POST['company'];
    $comments=$_POST['comments'];
    $body=
    "A customer at $sitename has made the following enquiry\n
    First Name: $name
    Company Name: $company
    Telephone: $telno
    Email: $from\n
    The visitor commented:
    $comments";
    mail($adminaddress,"Info Request",$body);
    ?>

  • Third party contact form widgets no longer working with upgrade - PHP errors

    PHP seems to be even more screwed up with the latest update/upgrade to Muse.  The previous upgrade started producing the following error message when I uploaded my site via FTP:
    "1 Warning - Connection to PHP file failed. Unable to check if this web server supports PHP needed by Muse forms. Be sure the domain name entered in the FTP upload dialog is correct."
    However, everything worked and in participating in some queries here, it seemed to be an oddity versus anything serious (things still worked but an error message popped up for no real discernible reason)
    Since the latest update, however, widgets that I have from two different companies for the purpose of emailing me through the website, sending messages, etc, are no longer working and the following message is displayed upon hitting "submit"
    " Form PHP script is missing from web server, or PHP is not configured correctly on your web hosting provider. Check if the form PHP script has been uploaded correctly, then contact your hosting provider about PHP configuration."
    In checking with my web host provider, I was told
    "the page appears to use the script form-u31652.php which does exist on the
    server.
    Unfortunately that error is not specific enough to point us in the right
    direction. PHP is indeed working on the server. However, looking at the
    apache web server error logs I can see that the contact form appears to be
    looking for a file that does not exist.
    To trouble shoot this issue you will want to work with Muse to determine
    why the sites coding is looking for the file
    /usr/home/NAME/public_html/WEBSITE.com/null."
    Any ideas what this means and how to solve this would be great. I've tried re-uploading the entire website, figuring that maybe something wasn't being uploaded via "Modified Only" but it still is happening
    Thanks!

    That isn't what ended up fixing it, Sanjit. Thanks to this article PHP FAQ for Muse Synchronized Text and help from an online representative from Adobe, was able to troubleshoot with my web provider. Turns out the problem was that a while back Muse deleted the fcgi-bin directory (probably during the previous upgrade, as that is when the PHP errors started to surface with me and others). And it was never put back by Muse even during a clean/full reupload of the website.  Had to have my web provider do it manually.

  • Strange error message when submitting my contact form - what does it mean?

    This site was designed by someone else and taken over by me.  The contact form used to work but now when you type in the fields and hit SUBMIT you get the error message that I've attached.  I've tried changing the code using Godaddy's gdform mailer steps and it's still not working.
    Try:
    www.ducksinaroworganizers.com/contactus.php
    I was also playing around with this one too:
    www.ducksinaroworganizers.com/contactustest.php
    Thank you.

    Your form is apparently trying to send via SMTP through pobox.com instead of from your own domain. pobox.com has probably set up their server to prevent this type of email relay - a good thing.
    Why not send through your own domain's mail server? I know nothing about GoDaddy, though. You might want to give them a call.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.

  • Contact form won't send to email

    I've done this contact form loads of times and it works fine but for some reason this particular form won't send to email. The php is good so it must be my form. I'll put both bits of code up anyway. Thanks
    PHP:
    <?php
    if ($_POST){
    if (!filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)){
    $message="Please provide a correct email address";} else {
      $name = strip_tags($_POST['name']);
      $company_name = strip_tags($_POST['company_name']);
      $telephone = strip_tags($_POST['telephone']);
      $email = $_POST['email'];
      $comments = strip_tags($_POST['comments']);
      $to = '[email protected]';
      $subject = 'Contact form submitted.';
      $body = $name. "\n". $company_name. "\n". $telephone. "\n". $email. "\n" .$comments;
      $headers = 'From: ' .$email;
      if (mail($to, $subject, $body, $headers)) {
      echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
      $message = 'Sorry an error occurred. Please try again later.';
    ?>
    <?php echo "<p style='color:red'>$message</p>"; ?>
    HTML:
    <form id="contactform" action="" method="post">
    <p>Name:<br/><input name="name" type="text" required /></p>
    <p>Company Name: <br/><input name="company_name" type="text" required/></p>
    <p>Telephone: <br/><input name="telephone" type="tel" required/></p>
    <p>Email: <br/><input name="email" type="email" required/></p>
    <p>Comments: <br/><textarea name="comments" required/>   </textarea></p>
        <input type="submit" name="submit" value="Send!" formmethod="post"/>
    </form>

    PEAR is a library of useful functions that is often included in a PHP installation.
    BUT. . .PHP only uses the mail capabilities of the server. If the server doesn't allow it, then you may not able to send email no matter what. . .however, I am not absolutely sure of that. I have never had to work with a server that did not support mail.
    SMTP is a protocol that uses an email account to send mail. You may be able to tie your mail to an external SMTP account, for instance even a GMAIL account. PHPMailer is an add-on that you can use to do this. You can install it on your website. It isn't hard to use, but it is more involved than simply using PHP mail().
    But really, have a conversation with the server admin about all of this. Find out why PHP mail isn't installed, and if he is willing to install it.

  • How can I create a contact form for sending emails in SharePoint Online?

    Dear Forum members,
    I´ve got a question about creating a custom contact form to send emails for a public site in SharePoint online.
    Could someone help us with some advise?
    In advance, thank you very much.
    Kind regards,
    Frits

    You can create Custom list and make alerts enable to send emails as soon as contact created.
    Bala

  • I want to create an account in USA store, I activate a paypal account and when I validate the pay form send me an error, what can I do?

    I want to create an account in USA store, I activate a paypal account and when I validate the pay form send me an error, what can I do?

    Are you in the U.S?
    You can only buy from the itunes store of your country of residence ( verified by valid billing address on your payment info) and ONLY while inside the borders of that country.

  • I have created a contact form using dreamweaver cc...how do i get it to send to my email?

    how do i get the contact form to send to my email?
    here is my code in html:
    <section id="content">
      <div class="main">
      <div class="container_12">
      <div class="wrapper">
      <article class="grid_8">
      <div class="indent-left">
      <h3 class="p0">Contact Form</h3>
      <form id="contact-form" method="post" enctype="multipart/form-data">
      <fieldset>
       <label><span class="text-form">Your Name:</span><input type="text"></label>
       <label><span class="text-form">Your Email:</span><input type="text"></label>
       <div class="wrapper">
      <div class="text-form">Your Message:</div>
      <div class="extra-wrap">
      <textarea></textarea>
      <div class="clear"></div>
      <div class="buttons">
      <a class="button" href="#" onClick="document.getElementById('contact-form').reset()">Clear</a>
      <a class="button" href="#" onClick="document.getElementById('contact-form').submit()">Send</a>
      </div>
      </div>
       </div>
      </fieldset>
      </form>
      </div>
      </article>
    my CSS code:
    #contact-form {
      display:block;
      width:100%;
      #contact-form label {
      display:block;
      height:35px;
      overflow:hidden;
      #contact-form input {
      float:left;
      width:443px;
      font-size:12px;
      line-height:1.25em;
      color:#808080;
      padding:7px 9px;
      margin:0;
      font-family:Arial, Helvetica, sans-serif;
      border:1px solid #dcdcdc;
      background:#fff;
      outline:none;
      #contact-form textarea {
      float:left;
      height:183px;
      width:443px;
      font-size:12px;
      line-height:1.25em;
      color:#808080;
      padding:7px 9px;
      margin:0;
      font-family:Arial, Helvetica, sans-serif;
      border:1px solid #dcdcdc;
      background:#fff;
      overflow:auto;
      outline:none;
    .text-form {
      float:left;
      display:block;
      font-size:13px;
      line-height:18px;
      width:96px;
      color:#808080;
      font-family:Arial, Helvetica, sans-serif;
    .buttons {padding:8px 30px 0 0; text-align:right;}
    .buttons a {margin-left:6px;}
    aside {
      width:100%;
      padding:40px 0 30px;
      background:#fff;
    .title-2 {
      display:block;
      padding-left:20px;
      font-size:21px;
      line-height:43px;
      color:#fff;
      background:#1c1b18;
      margin-bottom:16px;

    <form action="path-to-script-on-server/form-to-email-script.php">
    If your host doesn't provide scripts, ask them which server-side languages you can use (php, asp, asp.net, perl, coldfusion, etc...).  This will narrow your search for form-to-email processing scripts.
    Also, your form SUBMIT button is not properly coded.  It should look something like this.
    <input type="submit" name="send" id="send" value="Submit">
    RESET buttons aren't used much anymore because they lead to more form submission failures than successes.  You don't need it.
    Please review HTML5 Forms:
    Understanding HTML5 intelligent forms – Part 1: New input elements | Adobe Developer Connection
    HTML5 forms workflow | Learn Dreamweaver CC | Adobe TV
    Nancy O.

Maybe you are looking for

  • Custom fields in SRM 7.0

    Hi all, Im working on SRM 7.0.I need to add few custom fields in SC and PO screen at header level.I have worked on similar requirement in SRM 5.0 but not on SRM 7.0.Can anybody explain what are the differences in the proceudre for addition of custom

  • When a bean is not a bean

    I have received an error in my servlet container stating that: cannot create bean from class PhotoBean This bean was derived from an oracle sample file, and i modified it a bit (like having a connection being provided from another class) and now when

  • Log on Details for new client

    hi experts, I created the client  820 by using  scc4 how can i create the password for that client to log in . please give me solution asap. Thanks , K.Rajesh.

  • Events in reporting

    Hi, experts please tell me the events in interactive reports in order and when they trigger. regards, vijay.

  • How to switch back to iOS 6

    I would like to know if it's possible to switch back to the iOS 6 once you have downloaded the new 7 update. If so, how?