Downloads » Resources » eForm

eForm

  • Currently 4.4117647058824/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Votes: 17

eForm 1.4.3

by TobyL
featured

This version is a bug fix release only. No new functionality was added. Two bugs were discovered which showed up when using multiple forms on the same page.

  • FIXED: When using multiple forms on a page all forms are parsed and validated even when only one form is submitted.
  • FIXED: fields array values were not cleared between forms (resulting in setting validation messages in all forms when any of the forms form doesn't validate)
  • FIXED: typo in line 78 - thanks to pixelchutes
  • Some other issues introduced in this version have also been addressed

Works with MODx Version(s): 0.9.5
Submitted: Jan 7th 2007 | License: GPL - GNU Public | Downloads: 10386

Resource Image A very flexible and extendible form parsing snippet that will let you create web forms which can be sent via email to recipients you specify or can be used to process form values whichever way you like via it's comprehensive event structure.

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
  • Custom validation messages and css classes
  • Easily extended using comprehensive event structure
  • 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
  • Time limited protection against multiple submits

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

Previous Releases

eForm 1.4.2

by TobyL


  • New: validation message placeholder no longer requires wrapping elements - You should now just use [-validationmessage-]
    instead of <div class="error">[-validationmessage-]</div> (or similar)
    You can use the $_lang['ef_validation_message'] in your eform language file to format
    the message. Add [-ef_wrapper-] to this variable where you want the messages to appear
  • New: You can now place the anywhere in your document (outside the form template)
  • New: Support for in-line validation alert via the new &requiredClass and &invalidClass parameters
  • New: Email character set now follows the modx setting (thanks to Gildas)
  • Update: Tweaked the sessionVars parameter so it's no longer sensitive to spaces in comma seperated values
  • Update: Changed the date validation due to php version differences (Raymond Irving)
  • New: &css parameter - Adds css to the head of the document when the form is displayed
  • New: &jscript parameter - Adds javascript to the head of the document when form is displayed
  • New: eForm now checks for version differences between snippet and eform.inc.php
  • New: &protectSubmit parameter - protect against multiple submits of similar form data
    values: 0=off, 1=use required fields, or comma separated list of fields to compare
  • New: &submitLimit parameter - Time limit in minutes on successive submits of same form
  • works standalone or in combination with &protectSubmit - see documentation for details


Note: replace - with + wherever you see [-placeholder-]! (The placeholders otherwise were stripped from this text)

Works with MODx Version(s): 0.9.5
Submitted: Dec 10th 2006 | License: GPL - GNU Public | Downloads: 1921

eForm 1.4.1

by TobyL

Basically a bug-squashing release with some powerful new events thrown in. Also added an eform.xml file (in the snippet folder) for future use (upcoming timyMce plugin).

  • Fixed: inconsisten casing in event names. All events params are now in the form &eFormOn...(although the &eformOn... will still work)
  • Fixed: If subject is a form field the value is cleared
  • Fixed: Missing language file produces fatal error. (Will now generate a debug message if debug is on)
  • Fixed: Missing 'replyto' in AddAddressToMailer function.
  • Fixed: Erroneous closing slash (/) being added in <option ..> tags
  • Fixed: No whitespace before 'selected' and 'checked' attributes
  • Updated: Debug placeholder is now automatically added to form and thankyou template. It is not auto-added to the email message to avoid sending out sensitive info
  • New: Extra event parameter &eFormOnValidate (triggered after eForm validation has occurred)
  • New: Extra event parameter
    &eFormOnBeforeFormMerge (triggered when and before form is displayed)
  • New: Extra event parameter &eFormOnBeforeFormParse (triggered after template(s) are loaded and before they are parsed)

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 31st 2006 | License: GPL - GNU Public | Downloads: 1303
This resource has been deprecated.

eForm 1.4

by TobyL

  • 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

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Oct 18th 2006 | License: GPL - GNU Public | Downloads: 921
This resource has been deprecated.

eForm 1.3

by TobyL

Initial Release

Works with MODx Version(s): 0.9.2.1, 0.9.2
Submitted: Sep 28th 2006 | License: GPL - GNU Public | Downloads: 868
Tags:
forms, snippet
This resource has been deprecated.


Extras

No results found.


( back to top )