yellow_up.jpg Section 7: Insert Menu continued

If you would like to create Forms that visitors to your website can use to send you information, The Forms Section of the Insert Menu has handy features
you can use for this purpose.
insert_form_menu.jpg

Form

Click on Form and CreaText will open this dialog box. In the Action field, type the location of the CGI Script on our host's web server. ( Example: Action="/cgi_bin/survey.pl" ) Then, select the Method, Post or Get.

Next, go to Insert >Text Input Field in the Form Menu. That will bring up this dialog box:

insert_input.jpg
Give your form a Name. This name identifies the information to your Web Server. ( It won't appear on your web page. )
Next, enter a Size for the text input field. This will determine the Width of the Text Box. In the Maxlength box enter the maximum number of characters the box will contain. If you want some text to be pre-entered into the text box, enter it in the Text Field.

Next, select the type of Information you want entered. Text, or a Password. Then, click Insert.

Now, in a browser preview your form should appear like the top image, shown here, if it is a name field. The person filling out your form types a name here.

form_field.jpg

If you chose Password, the characters typed in won't show. For security, only symbols will be shown for the characters and numbers, as shown below.
password.jpg


Text Input Area

input_area.jpg
Under Text Input Area you will see the dialog box shown above. Here you enter a Name for the web server to recognize and decide what Size the Text Input Area should be on your web page. The Wrap choices are: Off, Virtual or Physical. This puts a text box on your page for visitors to fill in any information you may require, such as a survey.


Insert Selection
insert_selection.jpg
With Insert Selection, you can make a list where selections can be made ( As shown in the red outlined insert ) and the choices will be sent to your host's web server.

Radio Button / Checkbox

buttons.jpg
Here, you can make Radio Buttons and Checkboxes for selections to be made, as shown. ( Tip: By inserting the <BR> tag after each item, you can vertically stack them. )


Push Button
push_buttons.jpg
Here you can make Push Buttons of three types; for Normal, Submit and Reset.
Tip: Using font tags, you can make the word in the button bold, italic, underlined, or even a color, if you choose. )

File Button

browse_button.jpg

The File Button allows you to set parameters for Browsing and Opening Files. It puts a Browse Button and an Input Field on the web page. ( As shown above. )


Hidden Element

hidden_element.jpg

The Hidden Element is used for scripts that take additional parameters. For example, if you have a mailer script that is provided by a third party company, you can supply your email address here, so the produced email is sent to you.

hidden_element2.jpg


Group

fieldset.jpg

Group is used for radio buttons. For example, if you have:

Your favorite color
Red
Green
Blue


Your favorite computer
Apple
PC
Atari

Then you can group the color and the computers. If you don't group them, they will be treated as one group, and you can only select one button for all of them.


blue_left.jpg
PREV
Back to Tutorial Home Page
blue_right.jpg
MORE...