Contact Form |
Contact Form |
KingofLC |
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> |
Christian J |
May 21 2015, 03:55 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
|
pandy |
May 21 2015, 03:56 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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/ |
KingofLC |
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!
|
Lo-Fi Version | Time is now: 24th April 2024 - 06:55 PM |