HTML Form action?

Joined
Nov 23, 2008
Messages
1
Reaction score
0
Points
1
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.
 
Joined
Oct 27, 2007
Messages
196
Reaction score
1
Points
18
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">
</form>

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.

[email protected]
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top