Form Tool Script Dialog
To make a form functional, you need to write a program called a cgi-bin
script. If you already have a script, you can attach it to the form by
using the Browse and Apply buttons in the script dialog.
If you do not have a script, you can use the dialog to create one. See
the Creating a Script task card
for more details.
The Form Script dialog contains the following items:
-
Form Action field: the location of the script that the form
uses.
-
Display In menu button: allows you to decide where the form
response should be sent.
-
Get/Post radio buttons: allows you to choose between the Get
and Post methods of accessing your forms. Get
receives the encoded form input in the environment variable
QUERY_STRING
; Post receives
the encoded form input on standard input (stdin).
-
Script create/browse buttons: If you wish to create a CGI
script, click the Create CGI Script button. Cosmo Create
creates a simple script based on the information that you entered in
the Form Tool. The script is saved using
the pathname in the text field. Use the Browse button to to
create a pathname.
-
Action buttons: Apply applies the information
currently displayed to the form; Cancel dismisses the
dialog; Help launches the help for the dialog.