Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2012
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    link email address to send button

    How do I add an email address to the send button? Plus how can I add buttons where people can click options. For example they would be able to check a box off.


    Code:
    <!-- DC Contact Form Start -->
      <div style="margin-bottom:20px; padding:20px 20px 0; color:#000; background: #FFF; border:10px solid #000; border-radius:8px;">
        <form action="" class="tsc_form_contact_dark frame tbar">
          <h3>How can we help you?</h3>
          <label for="name">Name <span>(required)</span></label>
          <input type="text" name="name" class="form-input" required /><br>
          <br>
          <label for="email">Email <span>(required)</span></label>
          <input type="email" name="email" class="form-input" required /><br>
          <br>
          <label for="subject">Subject <span>(optional)</span></label>
          <input type="text" name="subject" class="form-input" /><br>
          <br>
          <label for="message">Message <span>(required)</span></label>
          <textarea name="message" class="form-input" required></textarea><br>
         <br> 
          <input class="form-btn" type="submit" value="Send Message" /><br>
        </form>
        <br>
        
            </div>
    <!-- DC Contact Form End -->

  • #2
    New Coder
    Join Date
    Apr 2013
    Posts
    38
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Making an email submit button

    You should be able to form the email by using this syntax (you can add other fields, like cc, as well):

    Code:
    mailto:emailaddress?subject=my%20subject&amp;body=my%20body
    For example:

    Code:
    <form method="GET" action="mailto:email-address">
    <input type="hidden" name="subject" value="test">
    <input type="hidden" name="body" value="test">
    <input type="submit" value="Send Email">
    </form>

    Regards,
    John

  • #3
    New Coder
    Join Date
    Mar 2013
    Posts
    14
    Thanks
    0
    Thanked 1 Time in 1 Post
    <form action="email_form.html">
    E-mail: <input type="email" name="email">
    <input type="submit">
    </form>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •