UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
The History Thread...
by Gremelin
09/18/14 09:42 AM
Doom 3
by Cyrez
09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#18418 - 03/16/02 05:01 PM How To Make A Form With The Use Of HTML Opposed To CGI
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
--------------------
HOW TO MAKE A FORM
--------------------

I used to envy everyone with forms on their pages because I wanted them on my site. However with no access to CGI I thought it was impossible to create a form of any kind. I was wrong. In fact, it is quite simple to create a working form, and it will take less time than expected.

--------------------
Materials Needed
--------------------

1. Text Editor (such as notepad)
2. WYSIWYG Editor (if you feel like editing the hmtl code through that)
3. An Email Address
4. This Tutorial

---------------------
How Its Done
---------------------

The first part of making a form is to start with the correct command to let the browser know a form is starting.



Notice that it tells the browser a form is starting, the form will post the info, and the info will be posted/emailed to the designated email address.

---------------------

The next step is to decide how you would like the user of this form to enter the information. There are several options.

Option 1: A Text Box

A text box is a one character high box that allows the user to write in it. The code is below. Note that the "text" command tells the browser it will be a text box, the "name" command tells the browser the name of the text box, and the "size" command tells the browser how long to make the box.



As with this type of input and all the others, you must replace the "name" with what the user will be placing in the text box. The user will not be able to see this name, but when the info is sent to you through your email you will need this designated to know what the users answer corresponds with. Please take note of this because I will not cover it again.

Option 2: The Text Area Box

This is simply a larger version of the text box which allows for mulitiple lines of text. The code is below. It is much the same as the text box with "rows" telling how tall it will be, and "cols" telling how many characters will be in each row.



Notice that the text area box requires a as the text box did not.

Option 3: The Radio Button

The radio button is used for a question with several answers. The code is below. Note that only one radio button can be marked per question.



Look at the code and see that when using multiple radio buttons for one question you would have all the radio buttons with the same "name" but diff "values".

Option 4: The Check Box

Exact same as the radio button except that you can check more than one answer for a question and it appears as a box opposed to a circle like the radio button. The code is below.



Option 5: The Pull Down Menu

The pull down lets you click a down arrow to view several options. You have all seen these in action at various forms. The code is below. Note that the "name" is what will be emailed to you, the "size" tells how many options will be displayed at once (recommend one), the "option selected" is the one that will be shown, and the "option" are the other choices. Not as hard as it may appear.



--------------------

Next you must put a send button on your page to allow your user to send you the info in the form. This is vital (obviously). The code is below.



If you want a reset button on your page use the below code.



--------------------

And, to finish the form off don't forget to close it with the below code.



--------------------

Please let me know how helpful this is to you, because I will base any later posts on your feedback. If you want to know anything in particular about html post it on the board and I will write a tutorial for it.

-BackSlash
_________________________
"It's better to burn out, than to fade away."

Top
Sponsored Links
      
#18419 - 03/17/02 09:48 AM Re: How To Make A Form With The Use Of HTML Opposed To CGI
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
however this isn't nearly as good as a real CGI form because doing this: "mailto:your address" sends the email on the client's computer. This requires having a default mail client setup which accepts sending emails (like Outlook Express). I and many other people do not have it setup and therefor the form does not work. Also, I don't think any linux user would find that it works either.

However, when you don't have CGI access, there's no alternative to making at least a FEW people happy - except getting yourself a different host...
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#18420 - 03/18/02 08:40 AM Re: How To Make A Form With The Use Of HTML Opposed To CGI
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
This is all true SilentRage. Also, another anyone planning to use this might want to be aware that when the data is sent to you it will not seperate each question and can be rather difficult to read. However, as you said, this is the best option if CGI is not available. Either this or end up with one of those free CGI providers that will throw ads all over your site, lol.

-BackSlash
_________________________
"It's better to burn out, than to fade away."

Top
#18421 - 03/18/02 10:09 AM Re: How To Make A Form With The Use Of HTML Opposed To CGI
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
Before I started hosting myself, I did have a free host with CGI, MySQL, PHP, SSI, and FTP access aaaaaaand no ads! It was a neat find. They shutdown since then though.

They're out there dude.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top

Moderator:  §intå×, Gremelin 
Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2148 Members
46 Forums
34505 Topics
69675 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27667
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Tim050, Gecko666, defghi795767, Devo60, ali
2148 Registered Users
Who's Online
0 registered (), 364 Guests and 305 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!