• Creator
  • #27589

    Michelle Beer


    I’m looking to post a contact form on the homepage of our website, but there doesn’t seem to be anywhere in the code for me to specify what email to send it to. Is there any way you could help me?

    Here’s the code, thank you

    <form id=”contact-form” class=”contact-form” method=”post” novalidate=”novalidate”>

    <h1 style=”text-align: center;”>Get in Touch</h1>
    <h3 style=”text-align: center;”>If you need extra marketing or business support, fresh solutions and expert advice? Then complete the details below to send us a message.</h3>
    <input id=”name” class=”form-control” name=”name” required=”required” type=”text” value=”” placeholder=”Full Name” />
    <input id=”email” class=”form-control” name=”email” required=”required” type=”email” value=”” placeholder=”Email address” />
    <input id=”company” class=”form-control” name=”company” required=”required” type=”text” value=”” placeholder=”Company name” />

    <p style=”text-align: center;”><textarea id=”message” class=”form-control” name=”message” required=”required” rows=”3″ placeholder=”How can we help?”></textarea></p>
    <p style=”text-align: center;”><button id=”submit” class=”btn btn-md btn-default btn-block” name=”submit”>SEND</button></p>


Viewing 3 replies - 1 through 3 (of 3 total)
  • Denzel Chia
    Post count: 3230
    #27611 |


    Please use a contact form plugin.

    A form does not send email, it can only post to your website, which in turn process it and send the mail to your email address. You will need the codes for the processing part.

    What you need is a contact form plugin.
    A contact form plugin, will have the form and the processing scripts.

    Thank you

    Michelle Beer
    Post count: 1
    #27638 |

    Thank you.

    Post count: 2647
    #27641 |

    no problem

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Code for submit button’ is closed to new replies.