Thread: HTML Form action?
11-23-2008, 03:58 PM #1
HTML Form action?
- Member Since
- Nov 23, 2008
Well I spent the greater part of today creating an input form for my site. I was able to make everything work just fine, aside from the most crucial element. I can't figure out a way to set up a site to recieve the information from the inputs. So my question here is, how do I set up an page to use as the action part of the form?
Thanks, and sorry if this is in the wrong section or something.
11-23-2008, 09:49 PM #2
Well all form elements are surrounded by the form tag and this tells the form what to do when the user clicks submit.
It will typically look like this:
<form id="contact" method="post" action="scripts/sendmail.php">
Here the form would be processed be a PHP script called sendmail.php. All forms need to be processed by a server side scripting language like PHP but there are many others.
Its in this PHP file that you would specify the receipients email address.
There are loads of scripts available on the net but many are quite complicated. If you would like me to send you a simple form I will just email me.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By coaster in forum Web Design and HostingReplies: 0Last Post: 01-17-2010, 02:32 AM
By Gator626 in forum OS X - Operating SystemReplies: 6Last Post: 11-01-2009, 09:00 PM
By design2 in forum Web Design and HostingReplies: 19Last Post: 05-18-2004, 06:08 AM
By Chris322 in forum Running Windows (or anything else) on your MacReplies: 3Last Post: 04-27-2004, 03:25 PM