Forms Help

Forms aren't all that hard to do .. they are a little more complex but still not all that difficult. Here's some coding for forms .. There is no way to name the Forms that come to your mailbox as yet ...

<b>Order a cup of coffee:</b><BR> <form method=post action="http://www.yourserver.com/cgi-bin/membername or email address"> Name: <INPUT NAME="name" TYPE=Text VALUE="Your name" SIZE="25" MAXLENGTH="25"> <P> Select flavour: <SELECT NAME="product" SIZE=1> <OPTION>Cappuccino <OPTION SELECTED>Java <OPTION>Mellanroast </SELECT> <P> <INPUT NAME="cbSugar" TYPE=Checkbox VALUE="sugar" CHECKED> Include sugar<P> <INPUT TYPE=Submit VALUE="Order now!"> <INPUT TYPE=Reset VALUE="Reset form"> </FORM>

The form action part is where you tell it what to do - either post to the URL or mail the results to your account depending on what perl script you have or what your server has for cgi scripts.

You must name the sections so that you can tell what the answers mean when you get it mailed to .. usually you name it something that corresponds with the item - in this case name .. you also need to set length and size.

The next section is a pull down menu .. For which selection you want always to show first - you must put SELECTED in the brackets.

The next section is a checkbox ... notice the "checked" section again

Then there is the code that submits the form to you .. voila!! That's all there is to it! Here's what the form looks like ...

.. if you want free graphics, please visit Kwiltkitty's Sketch Pad - Thank you!!!

CL HomeHTML Help Page

CL Home | Help Pages

kitty running

1