The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Getting my contact form to Submit

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #189040
    David Baird

    Hi all.
    First time delivering a Contact form.

    I have my Contact form HTML (supplied below) and now need to know how to create the matching .PHP file and what to do next to have responses from the form arrive to my email. Any help greatly appreciated.

    <!–Start Form–>



    <h2>Don’t Hesitate to Get in Touch!</h2>
    <h3 class=”text-center”>Get Directions</h3>
    <iframe width=”960″ height=”350″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”,-83.980821&q=5721+Scenic+Ridge+Rd,+Knoxville,+TN&hq=&hnear=5721+Scenic+Ridge+Rd,+Knoxville,+Tennessee+37912&ll=36.01349,-83.980821&spn=0.001432,0.00239&t=m&z=14&vpsrc=0&output=embed”></iframe><br /><small>View Larger Map</small>
    <form data-abide>

    <input type=”text” placeholder=”First and Last Name” />
    <input type=”email” required placeholder=”Email Address” />
    <small class=”error”>An email address is required.</small>
    <input type=”number” placeholder=”(865)951-3077″ />
    <label>Business Name:</label>
    <input type=”text” placeholder=”Company Name” />
    <label>How did you hear about us?</label>
    <select> <option value=”Web”>Web</option>
    <option value=”Radio”>Radio</option>
    <option value=”TV”>TV</option>
    <option value=”Referral”>Referral</option>
    <label>What are you interested in? (Check all that apply)</label>
    <input id=”checkbox1″ type=”checkbox”>
    <label for=”checkbox1″>Print Design</label>
    <input id=”checkbox2″ type=”checkbox”>
    <label for=”checkbox2″>Logo Design</label>
    <input id=”checkbox3″ type=”checkbox”>
    <label for=”checkbox3″>Web Design</label>
    <textarea placeholder=”How can I help you?”>

    <button type=”submit” class=”secondary”>Submit</button>

    <!–End Form–>


    It’s better to put large amounts of code on codepen, or make a gist on github. Formatting is difficult on the forums, and large blocks of code discourage readers. Also, not all of what you posted is relevant to your question: the map, for example, has nothing to do with your contact form.

    Do you understand how forms submit data? do you understand what happens to form data when it is submitted to PHP? Have you tried anything yet?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.