/symphony--form-validation

Extension for Symphony CMS to add form validation

Primary LanguagePHPMIT LicenseMIT

Form Validation

This extension adds a new filter rule that adds the possibility for real form validation to Symphony. The form validation is done by Benjamin Keen's 'PHP Validation' script (http://www.benjaminkeen.com/software/php_validation/).

Requirements: Symphony 2.0 or greater.

Installation

  1. Upload the 'formvalidation' folder in this archive to your Symphony 'extensions' folder.
  2. Enable it at 'System' > 'Extensions'.
  3. Create a new section with a textarea field where the validation rules are put in.
  4. Go to 'System' > 'Preferences' and enter the name of the section and field where validation rules are stored.
  5. Add the 'Form Validation' filter rule to your event via 'Blueprints' > 'Events'.
  6. Save the event.
  7. Create a new record in the section created in step 3 and enter the proper validation rules into the textarea.
  8. Add a hidden form field containing the id of the record with the validation rules to your form.

Changelog

Version 0.1:

  • Initial release