[ANNOUNCEMENT] HTML_QuickForm2-2.0.0RC1 (beta) Released.
| From: | PEAR Announce | Date: | Tue, 22 May 2012 18:18:02 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_QuickForm2-2.0.0RC1 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31561@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_QuickForm2-2.0.0RC1 (beta) has been released at http://pear.php.net/.
Release notes
-------------
Bug fixes
* Server-side validation errors for elements inside Repeats are properly
displayed
* Javascript for Repeat elements moved to a more proper qf.elements.Repeat
namespace, old qf.Repeat is kept as an alias but is deprecated
* Fixed markup in usage examples (related to bug #19097)
* Callback renderer now generates the same markup as Default renderer out of
the box, this addresses bug #19097 and allows correct behaviour of
client-side validation and Repeat elements
Changes
* HTML_QuickForm2::getValue() no longer returns values for internal form
fields (request #19403)
* It is no longer possible to set validation errors on hidden elements or
create Rules that set such errors, doing this will result in an Exception
* add() method of qf.elements.Repeat can accept an explicit index for a new
item, returns the index for added item
* Array Renderer: changes to buildCommonFields() make it easier to use by
Renderer plugins, arrays built for groups contain 'class' attribute
Backwards compatibility issues
* Items marked deprecated will be removed in release 2.0.0
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.0RC1
Download: http://download.pear.php.net/package/HTML_QuickForm2-2.0.0RC1.tgz
Authors
-------
Alexey Borzov (lead)
Bertrand Mansion (lead)