eForm 1.4
A snippet that will let you convert a web form into an email which can then be sent via email to users you can specify in snippet or the form.
Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 18th 2006 | License: GPL - GNU Public | Downloads: 1032
This resource has been deprecated.
Submitted: Oct 18th 2006 | License: GPL - GNU Public | Downloads: 1032
This resource has been deprecated.
Description
eForm is a highly flexible form parser which allows you to easily build forms and send the results to one or more email addresses. The main features are:
- Form validation using powerful validation rules
- Protection of hidden fields against tampering
- Captcha support
- Supports html email with attachments
- Flexible report & page generation using placeholders
- Notification to mobile devices
- auto-respond email
- Support for CC and BCC fields
- Extendable using eform events
- Some protection against mail injection
Instructions
- Unzip the downloaded zip file into the assets/snippet/ folder. You should now have an extra folder called eform.
- Create a new snippet, name it eForm and copy and paste the content of the eform.snippet.tpl file
- Read eform/docs/eform.htm and the examples
- Drop the eForm snippet into page and add parameters as you require
Updates
- New: Extra parameter &sessionVars to add session variables to the field values
- New: Extra parameters &sendAsHtml and &sendAsText - force email messages to be in Html or text only format.
- Fixed: &debug parameter wasn't doing anything
- Fixed: changed erroneous&isDebug to correct &debug parameter in documentation
- Fixed: Returning 'foreach' error when chunk or document not found for form template
- Fixed: Erroneous error when using multiple forms on a page ($formats persisted between eForm calls)
- Updated: Events now work using the &eFormOnBeforeMailSent and &eFormOnMailSent paramaters.
- Updated: can now be used in report and thank you templates
- Updated: When using a document for the templates the document no longer needs to have published set
- New: Show error if &tpl is set to the same document (id) containing the eForm snippet call
- New: extended debug messages for validated fields (if &debug is set)
- New: added some protection against mail injection
- New: &reportAbuse parameter - send 'abuse alert' mail to if mail injection is noticed
- New: You can now use <form id="formName"...> to match your &formid=`formName` instead of <input type="hidden" name="formid" value="formName" />
- New: You can now set the description using the label tag instead of in the eform attribute
- New: Added &disclaimer parameter for adding a disclaimer to the email body.
- Optimized: moved form parser code so it is only executed when form is posted
- Updated: You can again use placeholders in &from and &fromname (as you can with &subject and &keywords)
- Updated: It is now possible to use special placeholders in #SELECT validation rule
- New: you can now use the #LIST validation rule for file type checking with file uploads
- New Example: How to use eform events
- New Example: Multiple forms on one page