In Page view, select the Form Handler tool from the Component toolbar, and draw a rectangle on the form for the Submit button. On the Form Handler Properties palette, identify the type of server, and rename the Submit button if you want.
Click each row in the palette and enter information as follows:
- Button Name
Type another name for the buttonís label, or use the one thatís there.
- Publish to
From the drop-down list, choose the type of Web server youíre publishing to: Windows, Mac, or UNIX.
If you want to send each visitorís form results to an email address, select Email from the drop-down list. Read the Submitting Form To Email section for more information on publishing to an email address..
- Success URL
Double-click this row and, in the Link dialog, select the page to display when a site visitor accurately completes the form. Click the Link button when youíre done.
If you are publishing the form results to Email, the Success page option will not display. Read the Submitting Form To Email section for more information.
- Error URL
Double-click this row and, in the Link dialog, select the page to display when the submission fails, for example, if the site visitor doesnít fill in a required field.
- Output File
Type a name for the file you want responses copied to. You can stay with the default, webinfo.txt. This text file will be created with the first form submission and each new submission will be appended to the text file.
- Required Fields
For each field, choose whether a response is required (True) or not (False) for a submission to be successful. If you mark a field True, and a site visitor doesnít fill it in, they see the error URL when they submit the form.
NOTE: If any object in your form isnít listed in the Form Handler Properties palette, you might have named it incorrectly. For information, see Naming Form Objects.
- Perl Path for UNIX (ONLY FOR UNIX SERVERS)
Type the path to the Perl application on the server. Note that Perl 5 is required on the server.
- CGI Bin Directory
Type the path to the directory on the Web server where CGI scripts should be copied.
- Storage Directory
Type the path to the directory on the Web server where you want NetObjects Fusion to put the Output file.