[ANNOUNCEMENT] HTML_QuickForm2-2.0.0beta1 (beta) Released.
| From: | PEAR Announce | Date: | Tue, 20 Mar 2012 14:11:03 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_QuickForm2-2.0.0beta1 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31460@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_QuickForm2-2.0.0beta1 (beta) has been released at http://pear.php.net/.
Release notes
-------------
Feature additions
* Added 'email' Rule (request #16906)
* Added Stub Renderer which does minimal form processing. Useful for forms
containing Javascript that are output manually.
* It is easier to customize client-side validation: all methods of
qf.Validator are public, CSS class names for validation status are kept in
validator's property.
* Test suite now properly runs from SVN checkout and under PHPUnit 3.6
* PHPDoc cleanup, added @method annotations to Container
Bug fixes
* Fixed running tests for elements separately (bug #19039)
* Fixed errors removal in client-side validation (bug #19063)
* IDs for autogenerated elements no longer start with underscores, default
form output no longer contains empty <label> tags (bug #19097)
* HTML_QuickForm2_Controller_Action_Jump defaults to using
$_SERVER['HTTP_HOST'] for host name (bug #19216)
* Group::setValue() now properly allows fluent calls (bug #19307)
* Container::validate() will now return false if any contained element
has an error message set
* Added abstract render() method to Node and abstract reset() to Renderer
* DefaultAction element no longer contains invalid 'width' and 'height'
attributes, 'src' attribute defaults to 'data:' URL
* 'Live' client-side rules run only once on changing the form field,
prevent errors when form HTML contains links
Backwards compatibility issues
* Items marked deprecated in version 0.6.0 are now removed
Package Info
------------
PHP5 rewrite of HTML_QuickForm and HTML_QuickForm_Controller packages.
This package provides methods to create, validate and render HTML forms.
Features:
* Supports all form elements defined by HTML standard, provides several
custom elements
* Server-side and client-side validation, several common rules provided
* Multipage forms (tabbed forms and wizards)
* Pluggable elements, rules, renderers and renderer plugins
Major advantages over PHP4 version:
* Most of the package's functionality is covered by unit tests
* DOM-like API for building the form structure, new streamlined API for
elements' values handling
* Default rendering without tables (inspired by
HTML_QuickForm_Renderer_Tableless)
* Renderer plugins for elements with complex rendering needs
* Ability to chain validation rules with 'and' and 'or'
* Client-side validation can run "live" on changing the form fields,
validation errors are displayed near the fields instead of in alert()
Related Links
-------------
Package home: http://pear.php.net/package/HTML_QuickForm2
Changelog: http://pear.php.net/package/HTML_QuickForm2/download/2.0.0beta1
Download: http://download.pear.php.net/package/HTML_QuickForm2-2.0.0beta1.tgz
Authors
-------
Alexey Borzov (lead)
Bertrand Mansion (lead)