home *** CD-ROM | disk | FTP | other *** search
- Form Handler Component for Fusion 4.0
-
- Requirements--
- The Form Handler component requires a web server capable of executing files with
- the extension .cgi. The .cgi files need to be published to a directory that has
- executable permission.
-
- Supported Web Servers--
- The Form Handler component for Fusion 4.0 is supported on the following servers:
-
- +Apache (Linux)
- +Netscape FastTrack 2.0 (NT 4.0)
- +Netscape Enterprise 2.0(NT 4.0)
- +IIS 4 (NT 4.0)*
- +IIS 2.0/3.0(NT 4.0)
- +WebSTAR 2.0 (Mac)
-
- *The Form Handler is supported on IIS4 with the exception that the output file
- is always created in the directory C:\webdata.
-
- The Mac version server-side files are stored as a Mac Binary file, with its
- entire content on the data fork. When publishing to a Mac server, the Mac
- server should convert these files to executable form. However, if the server is
- not configured to automatically convert the files to a Mac Perl 5 executable,
- you may have to manually convert these files on the server with a utility, such
- as MacBinary II+.
-
- On the client side, the Form Handler requires a forms compliant browser
- supporting the <meta redirect> tag. The following browsers are supported by
- Form Handler:
-
- +Netscape 3.0, 4.0 (for NT/Win 95/Mac/Sun)
- +MSIE 3.0, 4.0 (for NT/Win 95/Mac) - with Script patch/Debugger patch.
-
-
- Restrictions--
- The Form Handler has the following restrictions
- +There should only be one Form Handler component per form scope.
- +The output directory may have to be created manually for the NT version.
- +Permissions may have to be set on the server side. When publishing to Unix,
- file permissions may have to be set appropriately, depending on whether Fusion
- was able to execute CHMOD over the ftp connection.
- +The Form Handler does not accept more than 256 characters from a multiline edit field.
-
- Numbering each data-containing Form element--
- a)Click to select a data-containing form element
- b)On the property palette, find the name field, enter number 1 for name.
- c)repeat steps a) and b) for all form elements (except button element), incrementing
- the number for each name. So the first element will be 1, the second element will be
- 2..etc.
-
- The naming scheme has to be in incremental order starting with 1 and ending with
- the highest element # in order for Forms Handler to function correctly.
-
- The order of naming affects the order of the data being stored in the file. The
- data is saved in a "<tab>" tab comma delimited format.
-
-
- Setting the Properties Of Form Handler--
- The Form Handler component has properties that should be set in the layout
- view:
-
- +Publish To
- This specifies which version of the Form Handler .cgi is to be sent to the
- server. The Windows .cgi is an executable file. The Unix .cgi is a Perl 5
- script. The Mac version is a Mac binary Perl 5 file. The Email option has no
- .cgi file corresponding to it. Selecting the email option causes Form Handler
- to place a "mailto:" tag in the generated HTML file.
-
- +Submit Name
- This is the name that appears on the submit button.
-
- +Success URL (Windows, Unix, Mac)
- This is the URL that Forms Handler will redirect the web user to on a successful
- submisssion.
-
- +Error URL (Windows, Unix, Mac)
- This is the URL that Forms Handler will redirect the web user to on a
- unsuccessful submission. The unsuccessful submission could be caused by the
- user failing to fill in a required field.
-
- +Output file (Windows, Unix, Mac)
- This is the file name that Forms Handler writes your form data into.
-
- +CGI-Bin Directory (Windows, Unix, Mac)
- This field specifies the directory where the Form Handler cgi will reside.
-
- +Perl Path For Unix (Unix)
- This is the path where your Perl 5 CGI script can find the Perl interpreter
- during any CGI access. The Perl 5 script is written and tested for
- Perl 5. If you have access to a unix shell prompt, the location can be obtained
- by typing "which perl" or "which perl5" at the prompt. The output of the
- command is the perl 5 path that should be entered for this box. If you are unable to
- locate the Perl 5 interpreter on the server, please contact your ISP/Webmaster/MIS
- staff.
-
- +Storage Directory (Unix, Mac)
- The directory where the output file is to be stored. This should be given
- relative to the base publish directory.
-
- +Abs. Storage Dir (Windows)
- The directory where the output file is to be stored. This is an absolute path.
-
- +Require Field n
- This specifies whether or not it is required that the site visitor enters a value
- or makes a selection in a form element of name n. If set to true, the Form
- Handler will take the visitor to the error page if field n is not filled in.
- One of these fields exists for each form element in the form. These fields are
- ignored for email.
-
- +Email (Email)
- This specifies the email address where the form data is to be sent, if published
- with the email option.
-
-