FormItAutoResponder
Last updated Apr 29th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$280 per month—let's make that $500!
Learn moreThe FormItAutoResponder hook¶
The email hook will email an auto-response to the submitter.
Available Properties¶
It has the following properties to be passed into the FormIt snippet call:
| name | description |
|---|---|
| fiarTpl | Required. Tpl chunk for auto-response message. |
| fiarSubject | The subject of the email. |
| fiarToField | The name of the form field to use as the submitter's email. Defaults to "email". |
| fiarFrom | Optional. If set, will specify the From: address for the email. Defaults to the emailsender system setting. |
| fiarFromName | Optional. If set, will specify the From: name for the email. |
| fiarSender | Optional. Specify the email Sender header. Defaults to the emailsender system setting. |
| fiarHtml | Optional. Whether or not the email should be in HTML-format. Defaults to true. |
| fiarReplyTo | Required.An email to set as the reply-to. |
| fiarReplyToName | Optional. The name for the Reply-To field. |
| fiarCC | A comma-separated list of emails to send via cc. |
| fiarCCName | Optional. A comma-separated list of names to pair with the fiarCC values. |
| fiarBCC | A comma-separated list of emails to send via bcc. |
| fiarBCCName | Optional. A comma-separated list of names to pair with the fiarBCC values. |
| fiarMultiWrapper | Wraps values submitted by checkboxes/multi-selects with this value. Defaults to just the value. |
| fiarMultiSeparator | Separates checkboxes/multi-selects with this value. Defaults to a newline. ("\n") |
| fiarFiles | Optional. Comma separated list of files to add as attachment to the email. You cannot use a url here, only a local filesystem path. |
| fiarRequired | Optional. If set to false, the FormItAutoResponder hook doesn't stop when the field defined in 'fiarToField' is left empty. Defaults to true. |
See Also¶
- FormIt.Hooks.email
- FormIt.Hooks.FormItAutoResponder
- FormIt.Hooks.FormItSaveForm
- FormIt.Hooks.math
- FormIt.Hooks.recaptcha
- FormIt.Hooks.redirect
- FormIt.Hooks.spam
- FormIt.PreHooks.FormItLoadSavedForm
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$280 per month—let's make that $500!
Learn more










