[ANNOUNCEMENT] HTML_QuickForm-3.2 (stable) Released.
| From: | PEAR Announce | Date: | Wed, 05 Nov 2003 14:01:28 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_QuickForm-3.2 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8769@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_QuickForm-3.2 (stable) has been released at http://pear.php.net/.
Release notes
-------------
* Major changes in this release
Refactored form validation using Strategy/Factory/Singleton patterns. Rules are now
processed by subclasses of HTML_QuickForm_Rule class, HTML_QuickForm_RuleRegistry manages
registering the rules and instantiating the rule classes. Backwards compatibility was
completely preserved. (Bertrand Mansion)
- Added ability to set a rule on several elements. Added 'compare' rule that compares the
values of two form elements to take advantage of this. (Alexey Borzov)
- New 'callback' rule and an improved 'email' rule.
- Function-based rules can now be used without registering.
- Added 2 new examples for built-in and custom rules. (Alexey Borzov)
- Javascript validation opportunities were enhanced, validation of groups, radios, checkboxes,
selects now works correctly (see also PEAR bug #184) (Alexey Borzov, Hodicska Gergely)
* Other additions and changes
- Added 'autocomplete' element. (Matteo Di Giovinazzo)
- Added possibility to check whether form was actually submitted (see also bug #185). (Alexey
Borzov)
- QuickForm now correctly handles 'file' elements with [] in name, 'file'
elements inside groups. (Alexey Borzov)
- 'date' element will display year select in reverse order if 'minYear' >
'maxYear'. (Alexey Borzov)
- Added possibility to set increment value for some 'date' element selects. (Alexey
Borzov)
- Added 'y' format to 'date' element. (Bertrand Mansion)
* Migration to 3.2
- Features that were marked deprecated in previous releases are REMOVED
- 'emailorblank' rule was REMOVED, use 'email' rule (see also PEAR bug #34)
* Bugfixes
- Fixed PEAR bug #140 (empty label tags for checkboxes and radios)
- Fixed PEAR bug #175 (error in 'date' element's German translation)
- Fixed PEAR bug #70 (Flexy renderer didn't handle multiple labels for element)
- Fixed PEAR bug #152 (JS function for 'hierselect' element not printed)
- ArraySmarty renderer correctly processes groups with '_' in names (Ian Duggan)
Package Info
-------------
The HTML_QuickForm package provides methods for dynamically create, validate and render HTML forms.
Features:
* More than 20 ready-to-use form elements.
* XHTML compliant generated code.
* Numerous mixable and extendable validation rules.
* Automatic server-side validation and filtering.
* On request javascript code generation for client-side validation.
* File uploads support.
* Total customization of form rendering.
* Support for external template engines (ITX, Sigma, Flexy, Smarty).
* Pluggable elements, rules and renderers extensions.
Related Links
-------------
Package home: http://pear.php.net/package/HTML_QuickForm
Changelog: http://pear.php.net/package-changelog.php?package=HTML_QuickForm
Download: http://pear.php.net/get/HTML_QuickForm-3.2.tgz
Authors
-------------
Bertrand Mansion <bmansion@mamasam.com> (lead)
Adam Daniel <adaniel2@cinci.rr.com> (lead)
Jason Rust <jason@rustyparts.com> (developer)
Alexey Borzov (lead)
Thomas Schulz <ths@4bconsult.de> (developer)
Ron McClain <ron@humaniq.com> (developer)