[ANNOUNCEMENT] HTML_QuickForm-3.1 (stable) Released.
| From: | PEAR Announce | Date: | Sat, 19 Jul 2003 11:44:55 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_QuickForm-3.1 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6671@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_QuickForm-3.1 (stable) has been released at http://pear.php.net/.
Release notes
-------------
* New additions
- Added a new hierselect element, a group of two selects where the first select changes the options
of the second select using javascript (Bertrand Mansion)
- Added exportValue() and exportValues() methods, these should now be the preferred way to get form
values (Alexey Borzov)
- Added addFormRule() method, this adds the rule that validates the whole form (Alexey Borzov)
- Added Italian date/dategroup names (Marco Piarulli)
- Added Slovak date/dategroup names (Peter Sablica)
- Added Icelandic date/dategroup names (Birgir Stefansson)
* Changes
- Rule-registering functions can now be called statically (Alexey Borzov)
- File-related rules and methods are moved to HTML_QuickForm_file (Alexey Borzov)
- Moved 'magic quotes' handling to QuickForm's constructor (Alexey Borzov)
- Use strtr() instead of rawurlencode() for javascript messages (Bertrand Mansion)
- Changed the nonzero rule to every numbers (negative or positive) except zero (David Sklar)
- Date element has been entirely reworked and optimised (Alexey Borzov)
- Updated the examples to use the latest changes (Alexey Borzov, Bertrand Mansion)
* Bugfixes
- Fixed a bug in HTML_QuickForm_group::getFrozenHtml() (Alexey Borzov, Wolfram Kriesing)
- Fixed a problem in HTML_QuickForm_group::getValue(): value was not changed to array (Alexey
Borzov)
- Correctly set element's index in addElement() if some of the elements were previously removed
(Alexey Borzov, Wolfram Kriesing)
- Fixed notice in _findElementValue() for files (Bertrand Mansion)
- Fixed passing a 'selected' attribute to addOption() (Alexey Borzov, Wolfram Kriesing)
* Deprecated
- setFormat(), setMinYear() and other accessors in date element are now deprecated. Set options and
attributes in the constructor instead (Alexey Borzov)
- Method getAttributesString() is deprecated (Alexey Borzov)
- HTML_QuickForm's isUploadedFile(), moveUploadedFile(), getUploadeFile() are now deprecated
(Alexey Borzov)
Deprecated methods will be removed from QuickForm in the next release.
In this release, they throw PEAR errors but still finish the job.
Use this to catch them with an error handler function, the global error code is
QUICKFORM_DEPRECATED.
Package Info
-------------
The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
Features:
* Creates xHTML compliant form elements of various type.
* Allows you to choose an unlimited number of html attributes.
* Allows you to create your own custom elements using your own classes.
* Process form values (you should override the process method).
* Creates javascript validation code using regular expression.
* Server-side validation too.
* Allows you to create your own validation rules.
* Manages file uploads.
* Allows you to freeze some elements in your form.
* Allows you to customize the look of your form in many ways.
* Template-like form elements customization...
Related Links
-------------
Package home: http://pear.php.net/package-info.php?package=HTML_QuickForm
Changelog: http://pear.php.net/package-changelog.php?package=HTML_QuickForm
Download: http://pear.php.net/get/HTML_QuickForm-3.1.tgz
Authors
-------------
Bertrand Mansion <bmansion@mamasam.com> (lead)
Adam Daniel <adaniel2@cinci.rr.com> (lead)
Jason Rust <jason@rustyparts.com> (developer)
Alexey Borzov (developer)