PDA

View Full Version : How do I create an easy to use web form?



matty3
29-07-2006, 04:40 PM
Hello,

I would like to create an easy to code web form. Could anyone help me? I just need it for like feedback etc. Would it be possible for it to send the data to an e-mail address?

Thankyou for your help,

~Matt :-)

Greg
29-07-2006, 05:08 PM
Yeah it's real easy, so long as you have a website host that supports the scripts that you need. Do you have a cgi-bin folder already set up?

You're welcome to copy my forms if you do.

stu161204
29-07-2006, 06:34 PM
Hello Matt :)

Here is the code to do what you want:


<form name="form1" method="post" action="mailto: you’re-mail-address-here.co.nz">
<p>Name:
<input name="name" type="text" id="name">
</p>
<p>e-mail address:
<input name="e-mail" type="text" id="e-mail">
</p>
<p>Comments:</p>
<p>
<textarea name="comments" id="comments"></textarea>
</p>
<p>
<input type="submit" name="Submit" value="Submit">
<input name="Reset" type="reset" id="Reset" value="Reset">
</p>
</form>

Make sure you fill in where it has "Youre-mail-adress-here” with your e-mail address ;)

I Hope this helps & if you have any questions let me know :)

Greg
29-07-2006, 06:52 PM
you’re-mail-address-here.co.nz

Make sure you fill in where it has "Youre-mail-adress-here” with your e-mail address ;)

I Hope this helps & if you have any questions let me know But please be aware of punctuation/grammar/spelling.