» Version | » Information |
---|---|
2023-11-02 stable |
|
2022-05-23 stable |
|
2022-04-02 stable |
|
2021-06-25 stable |
|
2021-05-09 stable |
|
2020-09-15 stable |
|
2019-04-10 stable |
|
2014-06-28 stable |
|
2014-06-26 stable |
|
2012-06-26 stable |
|
2012-05-22 beta |
|
2012-04-18 beta |
|
2012-03-20 beta |
|
2011-09-29 beta |
|
2011-06-13 beta |
|
0.5.0 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm2-0.5.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm2-0.5.0 Release date: 2010-12-09 09:22 UTC Release state: alpha Release uploaded by: avb Changelog: Milestone 5: Javascript support, client-side validation, filters Major additions and changes * It is now possible to run validation rules client-side as well as server-side. This is controlled by passing a parameter to addRule() * Implemented client-side validation for most builtin rules (MaxFileSize and MimeType rules for file uploads cannot work client-side) * Added JavascriptBuilder class, an instance of that is stored in Renderer and aggregates client-side rules, references to Javascript library files and Javascript for elements' initialization. Inline Javascript can be easily added with a special Script element * Implemented base Javascript library to support client-side validation. It should hopefully allow easier customization than inline Javascript in HTML_QuickForm 3.x * Implemented addFilter() and addRecursiveFilter() methods which can be used to (recursively) apply filter callbacks to element values when calling getValue(). A new getRawValue() method allows getting unfiltered values. Other features and changes * Ported Date element from HTML_QuickForm 3.x * Ported Hierselect element from HTML_QuickForm 3.x, it can now use callbacks to load additional options via AJAX (see enclosed hierselect-ajax.php example) * Ported Static element from HTML_QuickForm 3.x * Added HTML_QuickForm2_Node::getData() method * Added NotCallback and NotRegex rules, they consider element valid if callback returns false for its value / if the value does not match regex, respectively * It is now possible for autogenerated 'id' attributes to not have mandatory indexes appended. Use HTML_Common2::setOption('id_force_append_index', false); * Container rules are called after rules on contained elements (request #17576) Bug fixes * Added a div around form elements to prevent generating invalid HTML (bug #17217) * Fixed counterintuitive behaviour of DataSource_Array (reported by Cedrick Gout in pear-general mailing list) Backwards compatibility issues * Methods marked as deprecated in release 0.4.0 are now removed Dependencies:
|
2010-03-08 alpha |
|
2009-10-25 alpha |
|
2007-10-22 alpha |
|
2007-04-17 alpha |