|
Serif offers an external free service, Serif Web Resources (SWR), for forms processing with WebPlus. While the service is easy to use, it is missing some features. Forms To Go delivers on these missing features:
- process forms without having to rely on SWR and its uptime
- supplement Javascript client-side validation in WebPlus with advanced server-side validation rules in FTG (double and/or fallback protection when Javascript is disabled in user's browser)
- specify multiple TO, CC, BCC email addresses
- customizable FROM email address (FROM address no longer has to be
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
)
- customizable subject and message
- route submissions to different recipients depending on submitted form values
- send autoresponder (confirmation email to user) with attachments
- save submissions to MySQL, Postgres, text files
- spam/abuse protection (reCAPTCHA, words filtering, IP filtering)
- and much more...
Lets get started with an example for generating a PHP script.
In WebPlus:
1. Create a form based on Comments 1. Set the action to "No action".

2. Create a success (thank you) landing page that will be redirected to after a successful form submission.
3. Publish site to your local disk folder under File > Publish Site > Publish to Disk Folder.
In Forms To Go:
NOTE: Please read the following article to deal with WebPlus X4 not assigning the NAME attribute to the SUBMIT and RESET buttons. This is a one-time setup.
4. Click on File > Load HTML Form from File, and navigate to the page from step 1.

5. Apply validations to form fields.
- For NAME field, apply 'Number of characters' validation to limit acceptable characters.
- For EMAIL field, apply 'Email address' validation.
- For COMMENTS field, apply 'Number of characters' validation to limit the number of characters.


6. Under Settings > Email to Form's Owner > Addresses, configure the TO, FROM, SUBJECT, and BODY.
- Specify the recipient(s) to receive submissions.

- Customize the email subject/message. Right-click in these fields to display a menu of additional information to insert.

7. Under Settings > Landing Pages, configure the success and error landing pages.
- For the success landing page, select 'Redirect' and enter the file name from step 2.
- For the error landing page, select 'HTML form' and enter the file name from step 1. (Not available in demo version. Please select Redirect or Message.)
- Click "Display Javascript Alert Box with error messages" checkbox.

8. Click Script > Create PHP Script to name and save the script. Make sure to save in the same directory as the pages from step 1 & 2.

9. Under File > Save Settings As, save customized settings for this form to a settings file for later modifications. (Not available in demo version)

In WebPlus:
10. Link the form to the script.
- Go to the page from step 1, right-click in the form area, and click on 'Edit Form Properties'.
- Under the Action tab, click the button 'A script from my hard drive'.
- Click 'Browse...' button to select the script file from step 8.

11. Upload your form page, success page, and script file to your server under File > Publish Site > Publish to Web.
Other Resources
|