- This topic is empty.
-
AuthorPosts
-
November 23, 2014 at 2:48 pm #189040David BairdParticipant
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–>
<
div>
<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=”https://maps.google.com/maps?ie=UTF8&sll=36.013490,-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><label>Name</label>
<input type=”text” placeholder=”First and Last Name” /><label>Email</label>
<input type=”email” required placeholder=”Email Address” />
<small class=”error”>An email address is required.</small><label>Phone</label>
<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>
</select><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><label>Message:</label>
<textarea placeholder=”How can I help you?”>
</textarea><button type=”submit” class=”secondary”>Submit</button>
</form><!–End Form–>
November 23, 2014 at 3:53 pm #189042__ParticipantIt’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?
-
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.