The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Contact Form
KingofLC
post May 21 2015, 03:22 PM
Post #1





Group: Members
Posts: 2
Joined: 21-May 15
Member No.: 22,631



This displays correctly, but how will I receive questions when they are submitted?

<h2>Contact</h2>
<div class="half left">
<h4>Quick Contact Form</h4>
<p>If you have a question or comment, please use the form below or send email to the address shown to the right.</p>
<div id="contact_form">
<form method="post" name="contact" action="#contact">
<div class="left">
<label for="author">Name:</label> <input name="author" type="text" class="input_field" id="author" maxlength="40" />
</div>
<div class="right">
<label for="email">Email:</label> <input name="email" type="text" class="input_field" id="email" maxlength="40" />
</div>
<div class="clear"></div>
<label for="text">Message:</label> <textarea id="text" name="text" rows="0" cols="0"></textarea>
<input type="submit" class="submit_btn float_l" name="submit" id="submit" value="Send" />
</form>
</div>
</div>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 21 2015, 03:55 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



See http://htmlhelp.com/faq/html/forms.html#mailto-form
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 21 2015, 03:56 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(KingofLC @ May 21 2015, 10:22 PM) *

CODE
<form method="post" name="contact" action="#contact">



You need to link the form to a script on the server that does whatever you want done with the data. You do that put putting the URL to the script as the value of the action attribute, that is instead of "#contact".

See http://htmlhelp.com/faq/html/forms.html#formstoc

Do you just want the data emailed to you? You can find ready made scripts, many of them free, at for example http://hotscripts.com . Here are the ones in PHP. There are corrsponding sections for other programming languages.
http://www.hotscripts.com/category/scripts...orm-processors/

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
KingofLC
post May 24 2015, 11:15 AM
Post #4





Group: Members
Posts: 2
Joined: 21-May 15
Member No.: 22,631



Thank you Christian and pandy. Exactly what I needed!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 06:55 PM