Basic HTML forms

Status
Not open for further replies.

Akula

Well-known member
17,428
I want to create a basic HTML form. It will have some drop down lists for choosing a hardware type, and then some radio button choices for certain settings. The form will need to be importable into Excel to create a "master list" of settings and configurations. I need to be able to have the form emailed to an address upon hitting the Submit button.

All this is really fairly basic, but I've left my HTML guide at home on another computer (although I don't think it contains any such info...).

So the basic jist of it is:
Code:
"Video card" <Drop down list of card types>

"Colour Depth" *32bit
               *16bit

"Filter level" *Trilinear
               *Bilinear

(etc and so on -- some radio button options will have more than 2 choices, if that matters)

Can you point me to something that explains how to do the above or give me some hints?

Thanks!
 

mudboy

Ars Legatus Legionis
17,501
Subscriptor
Well, you need to use some level of programming to get data from an HTML form into an Excel spreadsheet, Access database, whatever. You didn't say how much programming experience you have, if any. I know as soon as I say this that all of the PHP Yahoos will start coming out of the woodwork, but the best tool for doing this easily is Cold Fusion & MS Access, though if you're using IIS, ASP is also an option, though it's not as simple to execute. Connecting to a database is very simple, sending emails is very simple, and you could probably have an app like this up and running in an hour or two.

Pete
 

GrimLock

Ars Tribunus Militum
2,189
Subscriptor
If you want a basic form to email you the submission that you will enter by hand, it's pretty easy. Use the select, option, and radio types like thinc suggested and use the POST method in the form attributes like:

Code:
 <form method="post" action="mailto:insert email address here">
then place a submit button:

Code:
 <input type="submit">
It will invoke the action you specify in the <form> attributes. You will get an email like:

Code:
video_card=Geforce2
color_depth=32
filter=trilinear
depending on what you name the fields.

EDIT: Just found a website for making basic HTML forms. http://www.htmlgoodies.com/tutors/forms.html
 

Nugar

Ars Scholae Palatinae
952
Hi Akula,

Sorry I didn't answer earlier. For Perl CGI's, one of the best pre-made form mailers I have used is AlienForm.

The big plus of this free script is that it doesn't show anywhere on the page or source the recipient's email address. That's a big plus for me, since I don't like email-harvest bots.

Also the output is extremely configurable, so it will permit you to do exactly what you need.

You may take a couple of hours decifering the author's style and how to use the cgi, but once you get over that, it rocks!

Nowadays, we use a proprietary cgi for fomrmails, but AlienForm was indeed very useful.

Hope it is useful to you too.
 

clm100

Ars Legatus Legionis
13,874
Subscriptor
Originally posted by mudboy:
I know as soon as I say this that all of the PHP Yahoos will start coming out of the woodwork, but the best tool for doing this easily is Cold Fusion & MS Access, though if you're using IIS, ASP is also an option, though it's not as simple to execute.
However true it may be, I resent being called a PHP yahoo!
 
Status
Not open for further replies.