==================================== =< Form Mailer >= =< FAQ/How-to For SC hostees >= =< SeraphChild.com >= =< Writen by: Laura L. Morris >= =< sc(at)seraphchild(dot)com >= =< Ver 1.0 (as if it matters) >= ==================================== =================================================================== Disclaimer =================================================================== This document is for my hostees only. Anyone can read it or learn from it, but using the scrip(s) from my domain will make me very, very grumpy. It eats up bandwidth. I have to pay for bandwidth. I'm not fond of the thought of paying for you to use something that is not yours in the first place. So there. The script itself is a clone of Matt Wright's FormMail.cgi (http://www.scriptarchive.com/readme/formmail.html) that Endore.com uses for legal reasons. "Please note that the Cpanel 3.0 developers are not associated with Matt Wright's Script archive in any way," was the quote at the end of their stuff. Just to note, neither am I. I use HTML KIT as my HTML editor and I took a glace at webmonkey for a quick refresher. The aritcal I used is this: http://hotwired.lycos.com/webmonkey/99/30/index4a.html?tw=authoring Do not taunt the happy legal text. =================================================================== Contents =================================================================== =< hit ctrl f for the find promt >= 1. Have a page first 2. Starting of the Form 3. Input type 4. Text Area Tag 5. Select and Option Tags 6. Button Tag =================================================================== ========================= 1. Have a page first ========================= Open a text editor, or your favorite HTML editor. Start or open an HTML document. Create the HTML as you would for any other page, leaving room for your form to be. Ta-da. The form tags should all be within the
tags. ========================= 2. Starting of the Form ========================= The form mailer has to be informed it is a form, where the action script is, and what method it is using. This line of script is invarably the same. After that, you need to tell the form where to send the email. Obviously replace 'you@yourmail.com' with your email addy. If you want, you can even tell the form what the subject of the email should be. Replace 'emailsubject' with the subject header of the email. ========================= 3. Input type ========================= The most basic and useful imput type is text. You can use it for names, handles, email, anything that can be typed in a few words or characters. Should you want a password or blocked feild, you'd need the following type. For Checkboxs, use this. If you want to have one of them checked, add 'checked' within the brackes. Put them in collums to ask for multiple answers to one question. (ie. My favorite shirt is this/these color/s) To group them, use the name tag (see also, Name Tag, For radio buttons, use this. If you want to have one of them chosen, add 'checked' within the brackes. Put them in collums to ask a multiple chose answer/ (ie. My favorite color is). To group them, use the name tag. Makes a submit button. Use the value tag (discused later) to make it say anything you want.