Each form has its own group of settings and preferences which can be configured to control how users may access the form, number of submissions that can be made, email addresses associated with submissions, and more.
With emails, administrators can configure the actions and behaviors when a submission is created, updated, or deleted. Handlers are used to route submitted data to external applications, send notification, and confirmations.
To access these settings:
- From the Dashboard, click Easy Forms
- Find the form to configure the settings for by:
- Browse the list; OR
- Search the list by form name
- Once found, under the Operations column, click the drop down arrow, then click Settings
- Click the Emails/Handlers sub-tab
Setting up Emails
- Click +Add Email, complete the form that opens in the window on the right
General tab
- Title, this is the administrative name of the email notification
- In the Send To section
- To email, the address the notification will be sent to (see email options below)
- CC email, the address(s) that will be carbon copied on the form submission, this is optional (see email options below)
- BCC email, the address(s) that will be blind carbon copied on the form submission, this is optional (see email options below)
- In the Send From section
- From email, the address that will appear as the sender of the notification (see email options below)
- From name, the name that will appear as the sender of the notification (see email options below)
- In the Reply To section
- Reply-to email, the address used for reply submissions (see email options below)
- Typically, Reply-to addresses are different than the From addresses, assuming you want someone else to receive replies that are created by users who reply to the email notifications
- Reply-to email, the address used for reply submissions (see email options below)
- In the Message section
- Subject, select from
- Custom, enter your own subject text
- Default, [webform_submission:source-title]
- Elements, select from elements added to the webform
- Body, select from
- Custom, enter the desired text in to the body field, click Browse Available Tokens to add tokens to pull data from the easy form elements into the email body
- Default, a basic message will be populated which includes tokens added to pull data from the easy form elements
- Elements, select an element from the easy form to display it's submission data as the body of the email
- Subject, select from
- Click Save
Email Options
- Custom To Email Address
- When selected, you'll be prompted manually enter a valid email address
- Default [site:mail] Address
- This address is configured in the Dashboard, under System Configuration, then Site Configuration, then Site Details
- Elements
- The email notification will be sent to the value of the form submission for the selected element
- Note: this will fail if the value is not a valid email address
- The email notification will be sent to the value of the form submission for the selected element
- Other: Site Email Address
- This address is configured in the Dashboard, under System Configuration, then Site Configuration, then Site Details
- Other: Current Email Address
- This is the address configured for the authenticated user
- Note: this will not work when form is submitted by an anonymous user
- This is the address configured for the authenticated user
- Other: Webform Author Email Address
- This is the address of the user who created the form
- Other: Webform Submission Owner Email Address
- This is the address of the user who reviews submissions
- Note: this option only works for authenticated users
- This is the address of the user who reviews submissions
Conditions
Click the Conditions tab to configure settings that allow you to control the appearance, state, or validation of pages or elements. For more information on adding conditions, see the article Advanced Features for Easy Forms.
Advanced
Click the Advanced tab, to configure additional settings associated with email notifications triggered by the easy form.
- Advanced Settings
- Enable the email handler, check this box to enable the handler
- Additional Settings
- Send email, check the box beside the condition you want the email sent for
- ...when draft is created
- ...when draft is updated
- ...when anonymous submission is converted to authenticated
- ...when submission is completed
- ...when submission is updated
- ...when submission is deleted
- ...when submission is locked
- Return path, select the email to which bounce messages are delivered.
- Leave blank to automatically use the 'From' email address
- Sender email, the email address submitting the message, if other than shown by the From header
- Leave blank to automatically use the 'From' email address
- Sender name, select the name for the sender
- Send email as HTML, check this box to send the email in an HTML format
- Theme to render this email, select the theme the email will be rendered in
- Custom parameters, enter any additional custom parameters to be appended to the emails parameters
- Send email, check the box beside the condition you want the email sent for
- Development settings
- Enable debugging, check this box to display onscreen all emails to all users
- Click Save when finished
Setting up Handlers
- Click the + Add Handler button, then select the handler to configure by clicking the Add Handler button under the operations column for the handler type:
- Action, triggers an action on a submission
- Debug, debug a webform submission
- Remote Post, Posts webform submissions to a URL
- Settings, Allows webform settings to be overridden based on submission data, source entity fields, and conditions
Action Handlers
General tab
- General settings
- Title, name the handler
- Administrative notes, add any relevant administrative notes if applicable
- Trigger
- Execute, select the trigger type from:
- ...when draft is created
- ...when draft is updated
- ...when anonymous submission is converted to authenticated
- ...when submission is completed
- ... when submission is updated
- Execute, select the trigger type from:
- Actions
- Change status, select from
- Flag/Star
- Unflag/Unstar
- Change lock, select from
- Lock
- Unlock
- Submissions can only be unlocked programmatically
- Append the below text to notes (plain text)
- Display message
- Enter a message to display
- Display message type, select from
- Status
- Error
- Warning
- Info
- Update the below submission data (YAML)
- Available element keys, expand the section to view the available element keys
- Change status, select from
- Click Save when finished
Conditions tab
Click the Conditions tab to configure settings that allow you to control the appearance, state, or validation of pages or elements. For more information on adding conditions, see the article Advanced Features for Easy Forms.
Advanced tab
Click the Advanced tab, to configure additional settings associated with handler.
- Advanced settings
- Enable the Action handler, when checked, will enable the action handler
- Development settings
- Enable debugging, when checked, trigger actions will be displayed on screen for all users
- Click Save when finished
Debug Handlers
General tab
- General settings
- Title, name the handler
- Administrative notes, add any relevant administrative notes if applicable
- Debug settings
- Data format, select from
- YAML
- JSON
- Include submission properties, when checked, all submission properties and values will be included in the displayed debug information
- Data format, select from
- Click Save when finished
Conditions tab
Click the Conditions tab to configure settings that allow you to control the appearance, state, or validation of pages or elements. For more information on adding conditions, see the article Advanced Features for Easy Forms.
Advanced tab
Click the Advanced tab, to configure additional settings associated with handler.
- Advanced settings
- Enable the Debug handler, when checked, will enable the debug handler
- Click Save when finished
Remote Post Handlers
General tab
- General settings
- Title, name the handler
- Administrative notes, add any relevant administrative notes if applicable
- Completed, data will be posted when a submission is completed
- Completed URL, enter the full URL to POST to when the submission is completed
- Updated, data will be posted when a submission is updated
- Updated URL, enter the full URL to POST to when the submission is updated
- Deleted, data will be posted when a submission is deleted
- Deleted URL, enter the full URL to POST to when the submission is deleted
- Submission data, data will be posted when a submission is completed
- Check the box beside the data to post
- Click Save when finished
Conditions tab
Click the Conditions tab to configure settings that allow you to control the appearance, state, or validation of pages or elements. For more information on adding conditions, see the article Advanced Features for Easy Forms.
Advanced tab
Click the Advanced tab, to configure additional settings associated with handler.
- Advanced settings
- Enable the Remote post handler, when checked, will enable the remote post handler
- Additional settings
- Method, select POST to request the web server accept the data enclosed when a completed form is submitted
- Post type, select from
- x-www-form-urlencoded
- Use this option when unsure, as it is the default format for HTML webforms
- JSON
- x-www-form-urlencoded
- Cast posted element value and custom data, when checked posted element values will be cast to integers, floats, and booleans as needed
- Custom data can be cast by placing the desired type in parentheses before the value or token
- Custom data, enter the custom data that will be included in all remote post requests
- Custom options, enter custom request options that will be used by the Guzzle HTTP client
- Custom error response message, enter a message to be displayed when the response status code is not 2xx
- Add, select a numerical value and click the button to add more settings as needed
- Custom error response redirect URL, enter the URL or path to redirect when a remote fails
- Development settings
- Enable debugging, when checked, posted submissions will be displayed on screen for all users
- Click Save when finished
Settings Handlers
General tab
- General settings
- Title, name the handler
- Administrative notes, add any relevant administrative notes if applicable
- Confirmation settings
- Confirmation title, enter a title display at the top of the page upon a successful submission
- Confirmation message, enter a message to be displayed upon a successful submission
- Custom settings
- Custom settings (YAML), enter the setting name and value as YAML
- Available custom settings, expand the section to see the available settings
- Click Save when finished
Conditions tab
Click the Conditions tab to configure settings that allow you to control the appearance, state, or validation of pages or elements. For more information on adding conditions, see the article Advanced Features for Easy Forms.
Advanced tab
Click the Advanced tab, to configure additional settings associated with handler.
- Advanced settings
- Enable the Settings handler, when checked, will enable the settings handler
- Developer settings
- Enable debugging, when checked, settings will be displayed on screen for all users
- Click Save when finished