Form Actions after Submit
Previous Section | Next Section
frevvo provides many options for you to control what happens when your form is submitted.
Document Actions
These control what happens to the data. The document action wizards are accessible from Settings editing mode. There are a number of document actions options. Let's try the Email wizard.
Click the Document Actions tab, and the Send Documents sub-tab. Select the action Send Email. You can specify email addresses (To, Reply To, Cc ...) to send the submission data and each email address can be dynamically set from the form data using the dropdown to the right of the field in the wizard. Type in your own email address into the To: field. In "Send Snapshot", select PDF. A PDF view of the form (identical to the print view) will be attached. Leave "Send Data" checked. An XML file containing the form data will also be attached.
The subject & content of the email can also be specified and you can format these using HTML as well as create dynamic content using controls in the form. Set an email Subject and Message as desired. Experiment with using controls in the form as templates via the drop downs. You can also search templates by typing "{" and the first few letters of the control name. Click Finish and save your form.
Test your form, fill in any required controls and Submit. Check your email (for on-premise installs you'll have to first configure your SMTP server). See that frevvo has sent an email with the subject, content, and data attachments as configured by you.
There are many more actions e.g. you can submit the data to your back-end HTTP server etc. You can learn more in the Form and Doc Action Wizards chapter of the documentation.
Form Action Wizards
These control what the user sees. The form action wizards are accessible from Settings editing mode. Let's try the Display message wizard.
Click the Form Actions tab. The option Display Message when user submits form is selected by default. You can specify any message you wish including dynamic content from the form data using the dropdown below the Message. Try setting any message you want and experiment with using controls as templates to create dynamic content.
The "Show in" dropdown can be set to Frame, Parent, or Top. This simply displays the message in the current frame, the parent window, or the top window of the browser. Select Frame and click Finish.
Test your form, fill in any required controls and Submit. See that frevvo displays your configured message with any dynamic content in the frame.
Go back to the form, and run the wizard again this time selecting Parent or Top. Click Finish and save your form.
Test it again. This time, see that the message is displayed in the parent window instead of in the frame.
There are many more actions e.g. you can submit the data to your back-end HTTP server etc. You can learn more in the Form and Doc Action Wizards chapter of the documentation.