» Version | » Information |
---|---|
3.2.16 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.16 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.16 Release date: 2018-07-20 11:25 UTC Release state: stable Release uploaded by: ashnazg Changelog: * revert [] array syntax Dependencies:
|
3.2.15 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.15 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.15 Release date: 2018-07-19 14:10 UTC Release state: stable Release uploaded by: ashnazg Changelog: * RSE exploit (reported by CiviCRM) Dependencies:
|
3.2.14 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.14 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.14 Release date: 2014-11-20 15:53 UTC Release state: stable Release uploaded by: danielc Changelog: * Fix E_STRICT "Declaration... should be compatible" (possible cause decoder crashes) Dependencies:
|
3.2.13 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.13 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.13 Release date: 2011-10-01 09:58 UTC Release state: stable Release uploaded by: avb Changelog: * maxYear in date element defaults to current year rather than 2010 (bug #18171) * autocomplete element now works under FF4+ (bug #18530) Dependencies:
|
3.2.12 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.12 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.12 Release date: 2010-10-17 08:34 UTC Release state: stable Release uploaded by: avb Changelog: * Added Serbian translation for date element (sent by Milos Tijanic) * Added Greek translation for date element (sent by Pantelis Evgenidis) * Got rid of deprecated split() function (thanks to Daniel O'Connor) * Rewritten Javascript for hierselect element to not rely on "for in" loop (bug #16603) Dependencies:
|
3.2.11 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.11 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.11 Release date: 2009-04-08 17:52 UTC Release state: stable Release uploaded by: avb Changelog: * PHP-style Unicode escape codes in regular expressions are translated to Javascript-style ones when using client-side validation (bug #12736) * Rules for grouped elements were not removed when removing a group via removeElement() method (bug #14540) * Allow setting $collectHidden parameter in constructor of ArraySmarty renderer, as allowed in constructor of Array renderer (bug #14995) * Element name was not removed from $_required array in removeElement() (bug #15520) * Third and subsequent selects in hierselect could be not cleared under some circumstances (bug #15955) Dependencies:
|
3.2.10 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.10 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.10 Release date: 2007-10-05 16:28 UTC Release state: stable Release uploaded by: avb Changelog: * An error in date's setValue() method prevented setting the 'empty' value as the default one (bug #11717) * A space could be displayed instead of '0' for frozen elements with value set to '0' (bug #11995) * Validation rules on file uploads will be skipped only if no upload was attempted, not if it failed for some reason (bug #12014) * 'filename' rule returned integer instead of expected boolean (bug #12015) * Regexps in Default renderer missed necessary 's' modifier (bug #12026) Dependencies:
|
3.2.9 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.9 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.9 Release date: 2007-06-05 14:39 UTC Release state: stable Release uploaded by: avb Changelog: This release fixes problems introduced in release 3.2.8: * Fixes to bug #10837 and bug #11138 could prevent setting the values of 'date' elements. Thanks to Massimiliano Arione for reporting. * Fix to bug #10754 broke 'compare' rules with '!=' operators (see bug #11229) Dependencies:
|
3.2.8 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.8 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.8 Release date: 2007-06-03 15:31 UTC Release state: stable Release uploaded by: avb Changelog: Development of QuickForm version 3 is now frozen. Only bug fixing will be done. All feature requests should be submitted for HTML_QuickForm2 package. Changes: * Moved to package.xml version 2 * Proper header comment blocks Bugfixes: * Possible segfault when using Default Renderer due to sub-optimal regexps (bug #9977) * Validation of elements containing numeric strings by 'compare' rule could give wrong results (bug #10754) * Regexp-based rules incorrectly allowed trailing newlines in values being validated (bug #10799) * Wrong options could be selected in <select> elements if numeric strings were used as options' values (bug #10837, bug #11138) * 'checked' attribute of checkbox was not cleared if adding checkbox to a form submitted with this box unchecked (bug #11047) Dependencies:
|
3.2.7 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.7 Release date: 2006-10-10 12:00 UTC Release state: stable Release uploaded by: avb Changelog: Development of QuickForm version 3 is now frozen. Only bug fixing will be done. All feature requests should be submitted for HTML_QuickForm2 package. Bugfixes: * Radio button with value attribute of '0' was incorrectly set checked after setDefaults() call (bug #8057) * Fixed errors in eval()'d code when element's name contains single quotes and/or backslashes (bug #8123, bug #8414 has a more realistic example) * Fixed PHP warning on outputting hiddenselect element when its values were never set (bug #8305) * Removed unnecessary if-else from HTML_QuickForm_file::moveUploadedFile() (bug #8329) * Fixed Javascript error in hierselect element if option text was a number (bug #8497) Dependencies:
|
3.2.6 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.6 Release date: 2006-06-22 09:07 UTC Release state: stable Release uploaded by: avb Changelog: Development of QuickForm version 3 is now frozen. Only bug fixing will be done. All feature requests should be submitted for HTML_QuickForm2 package. Bugfixes: * Typo in javascript generated for form validation (bug #5205) * Default values for single-selects were ignored if form was considered submitted (bug #5269) * Fixed array-based options for HTML_QuickForm_date (bug #5364) * Javascript validation of single radiobutton failed (bug #5644) * Incorrect fetch mode used in HTML_QuickForm_select::loadDbResult() (bug #5705) * Removed unused variables found by code analysis (bug #5920) * hierselect now works correctly with HTML entities in option texts, fix idea borrowed from Prototype JS library (bug #5974) * advcheckbox failed to submit properly if its id attribute was set equal to its name, due to javascript problems (bug #6134) * HTML_QuickForm_hierselect::setValue() should not decrease the number of select elements in hierselect (bug #6766) * HTML_QuickForm::isTypeRegistered() is now case-insensitive (bug #7342) * Form is considered not valid after explicitly adding error via HTML_QuickForm::setElementError() (bug #7470) * Regexps for 'error' and 'required' blocks in Default renderer now match ungreedy, this allows having several such blocks in a template (bug #7820) * Document the return value of HTML_QuickForm_file::moveUploadedFile() (bug #7832) Additions and changes: * Traditional Chinese translation for date element (request #5165) * Brazilian Portuguese translation for date element (request #5541) * An error message for element is now removed if removing the element via HTML_QuickForm::removeElement(..., true) or passing an empty argument to HTML_QuickForm::setElementError(). * advcheckbox element no longer uses any javascript, therefore its JS-related methods getOnclickJS() and getPrivateName() are no longer used internally and are deprecated. Dependencies:
|
3.2.5 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.5 Release date: 2005-08-05 12:41 UTC Release state: stable Release uploaded by: avb Changelog: This release addresses poorly documented backwards compatibility breaks in PHP versions 4.4 and 5.1 (see bugs #4725 and #4799). * Changes to hierselect element Javascript for hierselect element was (once again) completely rewritten, which fixed a significant number of bugs. - Fixed #2970 (hierselect did not handle form reset properly) - Fixed #3176 (hierselect did not handle page reload properly) - Fixed #3988 (javascript errors if element name contained brackets) - Fixed #4432 (javascript errors if strings used as option values) - Implemented #3367 (onchange attribute is not overwritten, but appended to) * Changes to date element - Added Romanian translation (request #2884) - Added Hebrew translation (request #3366) - Added Swedish translation (request #4821) - Added Portuguese translation (request #4963) - Removed extra copy of French translation - Fixed typos in French (bug #3947) and Spanish (bug #4531) translations - Implemented #3733 ('g' format support) - Implemented #3379 ('W' format support) - Implemented #3325 (display empty options on a per-field basis) - Implemented #3575 (different empty option texts for different fields) - Fixed #3049 (getElements() could return null) - Fixed #4781 (toHtml() could return incorrect result) * Form validation fixes - Fixed #3865 (Required rule should consider field containing '0' valid) - Fixed #3023 (a Fatal error was possible when having a compare rule after a frozen element) - Fixed #3501 (File elements should not be validated if not required and no file uploaded) - Fixed #2709 (radiobutton group not validated if no radiobutton selected) - Fixed #3035 (error in javascript validation function in case of select with size > 1) - Fixed #3150 (incorrect check for select elements in javascript validation function) - Fixed broken javascript validation for groups with brackets in name - Fixed #4470 (incorrect value for advcheckbox elements in javascript validation) - Fixed #4832 (Prevent javascript errors if form is frozen) * Other additions and fixes - Added HTML_QuickForm::isSubmitted() method - Implemented #4930 (value of upload_max_filesize php.ini directive is used as default value for MAX_FILE_SIZE form element) - Fixed #2806 (Typo in rules-builtin.php example) - Fixed #4219 (ArraySmarty renderer should only render required and error template if the element has errors or is required, this gives significant performance improvement). - Fixed #2681 (Identical classes declared alongside Object and ObjectFlexy renderers) - Fixed #3511 (HTML_QuickForm_group::toHtml() ignored hidden elements) - Use HTML_Common::_getAttrString() when generating hidden elements in various places (bug #4463, invalid HTML generated by hiddenselect) - Fixed #2726 (grouped elements failed to freeze if freeze() was called before _createElements()) - Fixed #4645 (grouped elements having '0' as name handled incorrectly) - Make getSubmitValue() more robust when dealing with groups having brackets in names (see bug #2587) - Fixed #4262 (Constructor for HTML_QuickForm ignored explicitly given $target = '_self' argument) - Fixed #4465 (Default values incorrectly used for select multiple elements if all options were unselected) - Fixed #3193 (frozen select elements could display incorrect value) - Fixed #4611 (javascript for grouped autocomplete elements not output properly) Dependencies:
|
3.2.4pl1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.4pl1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.4pl1 Release date: 2004-10-20 14:50 UTC Release state: stable Release uploaded by: avb Changelog: - Fixed #2576: calling HTML_QuickForm::getSubmitValue() on a group of radio elements caused an infinite loop with PHP eventually dying of memory exhaustion. This was introduced in 3.2.4 in a fix for bug #2517, those upgrading from earlier releases should skip 3.2.4, those running 3.2.4 should upgrade ASAP. - Fixed #2571: selects after the second were not correctly populated in hierselect with 3 or more elements. Dependencies:
|
3.2.4 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.4 Release date: 2004-10-18 11:07 UTC Release state: stable Release uploaded by: avb Changelog: * Additions and changes - Implemented HTML_QuickForm::insertElementBefore() method which allows adding elements into arbitrary places and reordering the existing form elements (thanks to Justin Patrin for initial implementation and helpful comments, see request #1587) - Implemented HTML_QuickForm_element::unfreeze() method - HTML_QuickForm::removeElement() now returns reference to element being removed - Array renderer outputs header name into the resultant array (request #2276) - Added $staticLabels option to Array renderer's constructor, this makes the renderer "flatten" the array of labels - Added Ukrainian translation for 'date' element (Andrey Kornilov) - Removed newline after <script> tags in 'autocomplete' and 'hierselect' elements (request #2373) * Bugfixes - HTML_QuickForm::getSubmitValue() now properly returns null for groups if form was not yet submitted (bug #2517) - stripslashes() is used only on 'name' element of file upload data (bug #1843) - HTML_QuickForm::addGroupRule() now works better with <select multiple> elements (bug #1810) - Fixed notice if empty string was passed to date::setValue() (bug #2530) - Calling HTML_QuickForm_group::getFrozenHtml() no longer freezes the group (bug #1836) - Groups now correctly handle setPersistantFreeze() call (bug #1836) - ITDynamic renderer does not replace empty separator with anymore (bug #2354) - 'maxfilesize' rule returns false in case of file upload errors (bug #2203) - Fixed Javascript generation for 'hierselect' elements (bug #1984) - Fixed examples using 'rangelength' rule (bug #2421) Dependencies:
|
3.2.3 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.3 Release date: 2004-06-28 11:24 UTC Release state: stable Release uploaded by: mansion Changelog: * Additions and changes - Implemented a new 'xbutton' element for HTML 4.0 <button> tag (see also #1227) - HTML_QuickForm::toArray() method accepts a boolean value that is passed to the constructor of HTML_QuickForm_Renderer_Array (see #1392) - ITDynamic renderer is now able to select a block for rendering based on the element's name (see #1506) - Default template of Default Renderer now allows XHTML-compliant output of hidden elements (see #1124) - Added Esperanto translation and French accents for date element (Sebastien Montagne) - Implemented #553: ITStatic renderer can use special blocks for required elements and errors, if present in the template - Implemented #1576: Enclose js code between //<![CDATA[ and //]]> to make it xhtml compliant * Bugfixes - Fixed #1235 (setChecked() and setValue() did not work on advcheckbox) - Fixed #1389 (Invalid comments in autocomplete element's Javascript) - Fixed #1143 (Client validation should be turned off for frozen elements) - Fixed #1252 (File upload names were not cleaned when magic_quotes_gpc = On) - Fixed notices raised by hierselect element (reported by Herim Vasquez) - Fixed #1248 (Errors in hierselect's Javascript when element's name begins with a number) - Fixed #1577 (hierselect's Javascript works with multiselects) - Fixed #1516 (Default Renderer should use separators even when setGroupTemplate() is used) - Fixed #1694 (ITStatic renders hidden element with brackets correctly, patch provided by milamamu) Dependencies:
|
3.2.2 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.2 Release date: 2004-03-22 05:06 UTC Release state: stable Release uploaded by: mansion Changelog: * On XHTML compliance: As of 3.2.2 QuickForm does not rely on presence of 'name' attribute in form tag (which is invalid in Strict XHTML), although it does set this attribute. If you desire Strict XHTML compliance, you can remove the attribute via removeAttribute() method. * On Flexy renderers: The Flexy renderers currently lack a maintainer. If one is not found, they will be marked as unsupported and may later be removed from the package. If you wish to look after these renderers, please contact the package maintainers. * Additions and changes - Added arrayMerge() method to HTML_QuickForm, this behaves like builtin array_merge_recursive() but does not renumber numeric array keys. The new method is now used throughout the QuickForm instead of array_merge_recursive() - Added setDatasource() method - Implemented #552 (ITStatic renderer can group hidden fields in output) - Added Estonian translation for date element (Ants Aasma) - Added Turkish translation for date element (Suat Imam-Oglu) - Added Norwegian translation for date element (Espen Carlsen) - All non-ASCII symbols in date translations are now encoded as HTML Unicode entities to prevent encoding problems - Renamed labels-default.php example to multiple-labels.php (suggested by Ignatius Reilly) - Date element accepts non numeric default values compatible with function strtotime() (Kellan Elliot-Mccrea) - Added possibility to have more than just two selects in the hierselect element (Herim Vasquez) * Bugfixes - Fixed #735 (applyFilter() failed for elements with "complex" names and grouped elements) - Fixed #872 (possible get_class()-related issues in PHP5) - Fixed #925 (XHTML compliance, see the note) - Fixed #741 (frozen elements lost 'id' attribute) - Final fix for #202 (ArraySmarty renderer broke on elements with brackets in names) - Fixed #645 (ArraySmarty renderer had problems with anonymous elements) - Fixed #734 (ArraySmarty renderer did not honour the change of Smarty delimiters) - Fixed #745 (wrong removal of group name from elements) - Fixed #212 (ObjectFlexy renderer broke on elements with brackets in names) - Fixed #1032 (ITStatic used wrong placeholders for groups with $appendName = false) - updateElementAttr() works correctly if passed an array of actual element objects, also handles the case of multiple elements with the same name. Dependencies:
|
3.2.1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2.1 Release date: 2004-01-03 13:14 UTC Release state: stable Release uploaded by: avb Changelog: * Additions and changes - The usage examples were significantly redone to better reflect current package functionality. - Added Armenian translation for date element (Vahe Khachikyan) - Added Dutch translation for date element (Michiel Rook) - validate() throws a PEAR error if rule added via addFormRule() returns junk (see also bugs #243 and #338) * Bugfixes - Fixed bug #351 (incorrect values set for groups with weird names) - Required elements in groups are once again marked correctly - Fixed setValue() method of date element (thanks to Orya and Mike Carter, see also bug #388) - Fixed bug #403 (typo in Rule_Callback::getValidationScript()) - Fixed bug #356 (javascript generation for groups with $appendName = false) - Fixed bug #328 (js values in hierselect not escaped properly) - Fixed bug #302 (better support for RFC 2821 and RFC 2822 in Rule_Email) - Fixed bug #253 (ArraySmarty renderer broken with radiobuttons) - Partial fix for bug #202 (ArraySmarty renderer broke on elements with brackets in names) - Fixed bug #493 (non-existant method in setConstants()) - Fixed bug #209 (Flexy renderer broken with groups having '_' in names) Dependencies:
|
3.2 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.2 Release date: 2003-11-05 09:01 UTC Release state: stable Release uploaded by: mansion Changelog: * 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) Dependencies:
|
3.1.1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.1.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.1.1 Release date: 2003-09-09 15:26 UTC Release state: stable Release uploaded by: avb Changelog: * New additions - Added Flexy renderer with examples (Ron McClain) - Added QuickHtml renderer with example (Jason Rust) - Added possibility to add customized empty options on top of date element selects (Jason Rust) - Added Czech translation for date element (Tomas Zavodny) * Bugfixes - Fixed a bug in select element found by Pascal Thuet (Bertrand Mansion) - Fixed setting hierselect's values, reported by Keith Edmunds (Bertrand Mansion) - Fixed validate() not checking for presence of _formRules, reported by Justin Hendrickson (Alexey Borzov) - Fixed javascript for advcheckbox element (Jason Rust) Deprecated methods will be kept for 3.1.x releases, but will be removed in the next major one. Please update your code! Dependencies:
|
3.1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.1 Release date: 2003-07-19 11:44 UTC Release state: stable Release uploaded by: mansion Changelog: * 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. Dependencies:
|
3.0 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.0 Release date: 2003-06-04 15:05 UTC Release state: stable Release uploaded by: mansion Changelog: * Fixes - do not use submit values for 'submit' elements also (reported by Thomas Schulz, Mike Carter) - assorted small fixes to HTML_QuickForm's methods and PHPDoc documentation - HTML_QuickForm::apiVersion() returns 3.0 now Dependencies:
|
3.0RC1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.0RC1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.0RC1 Release date: 2003-05-28 20:25 UTC Release state: beta Release uploaded by: mansion Changelog: * Bugfixes - setMaxfileSize() does not throw pear error anymore (Alexey Borzov) - onQuickFormEvent 'updateValue' fixes, elements that cannot actually have a submit value do not try to use one (Alexey Borzov) - _loadElement() now returns a reference (Alexey Borzov) - Several fixes to usage examples (Alexey Borzov, Thomas Schulz, Joerg Bruckmann) * Changes - Added time to the date element (Jason Rust) - Required groups now show the asterisk (Bertrand Mansion) - Optimizations in HTML_QuickForm_group's methods (Alexey Borzov) - ArraySmarty renderer now requires a Smarty object and uses Smarty templates for 'required' and errors output (Thomas Schulz) Dependencies:
|
3.0Beta2 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.0Beta2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.0Beta2 Release date: 2003-05-14 20:38 UTC Release state: beta Release uploaded by: mansion Changelog: - PHP 4.2+ is now required for file uploads * Bugfixes - Fixed bug with selected values in select element - Fixed bug when form method was changed from get to post by adding a file element - addRule() and addGroupRule() now return a PEAR error when the rule is not registered - <label> tags are no more generated for frozen checkboxes and radios * Changes - Added new Array-based renderer for Smarty, with examples (Thomas Schulz) - Array renderer generates more info on the form, possibility to set styles for elements (Thomas Schulz) - Example of usage for Array renderer with Smarty (Thomas Schulz) - Better XHTML compliance for Default renderer output (Klaus Guenther, Alexey Borzov) - Added possibility to have multiple labels for one element (Jon Wood) - Added support for multiple labels in ITStatic and ITDynamic renderers (Jon Wood, Alexey, Bertrand) - Added client-side validation parameter to addGroupRule() (Bertrand Mansion) - getSubmitValues() can now return uploaded files (Markus Wolff, Alexey Borzov) - Added new methods set/getMaxFileSize (Tommy Ipsen) - Removed unwanted linefeeds in frozen checkboxes (Thomas Schulz) - Added Spanish translation for date element (The PhP_KiD) - Added a setValue() method to static element (Jon Wood) Dependencies:
|
3.0Beta1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-3.0Beta1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-3.0Beta1 Release date: 2003-04-17 11:58 UTC Release state: beta Release uploaded by: mansion Changelog: * Major changes in this release - Renderers QuickForm now uses external renderers to output the form. Currently available renderers are: Default - based on old toHtml() code, Array - based on old toArray() code, ITStatic and ITDynamic - these work through an ITX/Sigma template engine. More renderers are expected to follow. - Validation Validation rules are tested in the order they are set. Groups can now be validated with custom functions. File validation only happens if a file is required. It is also tested if the file has been uploaded. - Static elements Headers and Data (html) elements are treated like other form elements. Headers can have a name, this makes it possible to use different templates for different headers. - XHTML HTML_Common and QuickForm have been reworked to be more XHTML compliant. * Migration to 3.0 Incompatibilities: - Filters registration is not used anymore. Just give applyFilter() the function name as a parameter. - toArray() now returns a different structure and calls an external renderer: elements in groups are rendered as seperate elements, every element has a numeric index for key. - Validation rules are validated in the order they were set. - File validation happens only when the file is required. - Direct calls to onQuickFormEvent() with 'setDefault' and 'setConstant' events won't work anymore, these events have been replaced by an 'updateValue' event. - Grouped elements index is now a numeric key only. This can break some group rules if you used their associative key in addGroupRule(). - Groups must have a name. If you don't want the name to be appended to the elements names, set the appendName parameter to false. Deprecated features: - addHeader() and addData(), while still there, are deprecated. Use addElement('header') and addElement('html'). - If you want to customize form output, do so by using a renderer object. setElementTemplate() and the like are now deprecated. * Changes - Added support for external renderers, added a default and an array renderer based on old QuickForm code (Alexey Borzov) - Added a dynamic ITX/Sigma renderer with examples (Alexey Borzov) - Added a static ITX/Sigma renderer with examples (Bertrand Mansion) - Added possibility to validate a group with a function using addRule() (Bertrand Mansion) - Added possibility to validate groups when appendName is false (Bertrand Mansion) - Rules are validated in the order they are set (Bertrand Mansion) - Fixed problems when validating a file not uploaded (Frederic Poeydomenge, Bertrand Mansion) - addHeader() and addData() now call addElement(), added new 'header' and 'html' elements (Alexey Borzov) - Got rid of registering filters, now only function existence is checked. First parameter to applyFilter can be an array (Alexey Borzov) - Automatically generate a name for group element when no name given. Added possibility to append the group name or not to grouped elements (Alexey Borzov) - process() now accepts a callback function to process the form (Bertrand Mansion) - Added XHTML compliant labels in radio and checkboxes (Alexey Borzov, Alexander Radivanovich) - XHTML for form tag (Bertrand Mansion) - Elements values are now set through a uniform 'updateValue' event (Alexey Borzov) - Elements with value 0 are not considered empty when validating (Bertrand Mansion) - Fix warning with uploaded files (Frederic Poeydomenge) - Changed _findElementValue to work with appendName (Bertrand Mansion) - Added Polish date names in date element (Robert Janeczek) - Added Hungarian date names in date element (Kovacs Gergely) - Added Russian date names in date element (Alexey Borzov) - Optimized select element addOption() and toHtml() methods (Alexey Borzov) - Added method getElementName() in group element (Bertrand Mansion) - Fix bug when setting attributes in date element (Bertrand Mansion) - Removed method display(), exists in parent class (Bertrand Mansion) Dependencies:
|
2.10 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.10 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.10 Release date: 2003-03-08 15:59 UTC Release state: stable Release uploaded by: mansion Changelog: * Email validation regex accepts lower and uppercases (Derick Rethans). * Added getUploadedFile() and isUploadedFile() methods (Wotjek Gdela). * XHTML compliant for the form tags (Jules Szemere). * Fixed Javascript validation when empty elements are not required (Joern Barthel). * Added possibility to call setDefaults() and setConstants() anytime. * Fix problem with duplicate element names (ex: radio). * Added method updateElementAttr() to update the attributes of multiple elements (Dan Wilson). * Slovanian translation of date in date element (Matej Dakol). * Fix bug in date element preventing submitted values to be used. * Removed nbsp; replace in frozen textarea (Carsten Bleek, Dan Wilson). This is probably the last release of QuickForm without template support. The next release will have two BC breaks: - Use of filters will be easier, no registration needed. - Groups with no name will not be supported anymore, even if name is not used. Dependencies:
|
2.9 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.9 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.9 Release date: 2003-02-20 16:32 UTC Release state: stable Release uploaded by: mansion Changelog: * Added htmlspecialchars() to frozen elements output in every case. * Elements are not validated against a function if they are empty and not required. It is easier this way for QuickForm to work with external validators. This is already the way it is done when using regex validation. * Added javascript validation for select multiple and checkboxes. * Added simple javascript validation for groups: values are imploded in a string. Dependencies:
|
2.8 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.8 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.8 Release date: 2003-02-18 14:17 UTC Release state: stable Release uploaded by: mansion Changelog: * IMPORTANT: favour the use of addGroup() instead of addElementGroup(). * Fix bug when validating grouped elements. * Removed useless call to toHtml() in toArray(), was disturbing the date element. * Fix bug with select multiple for display and validation. * Textarea element now uses nl2br() instead of pre tags so it won't mess your layout. Dependencies:
|
2.7 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.7 Release date: 2003-02-12 18:55 UTC Release state: stable Release uploaded by: mansion Changelog: * Use moveUploadedFile() (PHP 4.1) for file uploads instead of copy() and unlink(). (Matthias Englert) * Added support for element names with brackets ie. element[name][firstname]. * Added static element to add static text in form. (Wojciech Gdela) * Removed extra tabs created when wrapping form elements (Tim Glen) * Added validation for whole group with addRule('group') in complement to validation for group elements with addGroupRule('group'). * Added ability to use a method from a class or from an object for validation using registerRule(). * Fixed bug with radio button validation. (Jack Kline) * Fixed bug when validating checkboxes named with backets ie. checkbox[A] * Fixed a problem with stripslashes() in element.php * Fixed a bug in hidden.php preventing its value to be set under some conditions. (Arne Gellhaus) * In progress : fix bug with toArray() for the date element, use a layout object (templates), implement function validation for elements in group. |
2.6 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.6 Release date: 2003-01-29 11:37 UTC Release state: stable Release uploaded by: mansion Changelog: * IMPORTANT: addElement now returns a reference to the added element. * Added new date element to create formatted date selects. * Added example for the new date element in QuickForm_Example.php * Fixed a warning in checkbox element * Default values are always overidden by submitted values. * Email validation rules accept 4 chars extensions (.info, .name, ...) * Fixed bug in applyFilter() Dependencies:
|
2.5 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.5 Release date: 2002-11-20 11:24 UTC Release state: stable Release uploaded by: mansion Changelog: * Refine the use of setDefaults and setContants. setDefaults is used to fill the form with defaults values that will be overriden by submitted values once the form is submitted. setConstants is used to overide default and submitted values for example if form is not valid when submitted. In this case, constant values will be shown again in the field. In all cases, values won't be overriden by the other method anymore. * Added grouped elements validation on the server-side. * Added grouped elements customization through templates. * Fixes in rules for file uploads on maxsize, mime... when element is not required. * Added a new example for groups customization and validation. Dependencies:
|
2.4 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.4 Release date: 2002-10-21 13:17 UTC Release state: stable Release uploaded by: mansion Changelog: * Use $_POST, $_GET and $_FILES instead of $HTTP_. * Better error checking in renderElement(). * Fixed freeze() for removed elements. * Added new element 'hiddenselect'. * Added optional $in_data parameter to method toHtml so that data can be added to the form right before it is rendered. Useful when using with a template system. * Changed the way the key is obtained for _elementIndex in addElement() to accomodate with removeElement(). * Some changes to _buildRules(): Made some of the javascript variables private which did not need have a global scope (such as frm). * Added new rule: emailorblank. * Fixes in HTML_QuickForm_Element. * Fixes in QuickForm_example2.php. * Added getElements() in HTML_QuickForm_Group which returns an array of all elements in group by reference. * Added getGroupType() in HTML_QuickForm_Group which returns the type of group as string or 'mixed' if group is composed of different element types. * Fixes in file upload validation rules. * Added a few new examples for filters, rules, file uploads usage. Dependencies:
|
2.3 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.3 Release date: 2002-06-19 08:45 UTC Release state: stable Release uploaded by: mansion Changelog: * Important API change in the way select elements load arrays. * Added the possibility to set a template for an element only. * Fixes in the creation of select elements with multiple attribute. * Added consistency in the magic_quotes handling. * Added recursive filters on setDefaults an setConstants values. * Added getSubmitValue (same as getSubmitValues but for one value only). * Removed HTML_QuickForm_date element: it needs more work. * Added the HTML_QuickForm_advcheckbox element in package and in registered elements. * Added one example for the HTML_QuickForm_advcheckbox element. * Added setPersistantFreeze accessor method in element.php. * Fixed problems with password field values. Dependencies:
|
2.2 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.2 Release date: 2002-05-29 11:11 UTC Release state: stable Release uploaded by: mansion Changelog: * Some fixes for file uploads. * Some fixes for hidden fields. Dependencies:
|
2.1 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.1 Release date: 2002-05-24 13:10 UTC Release state: stable Release uploaded by: mansion Changelog: * Fixes for many if not all E_ALL warnings. * Filter function is now recursive. * Better handling of registered rules. * New regex for numeric validation. Dependencies:
|
2.0 |
Easy InstallNot sure? Get more info. pear install HTML_QuickForm-2.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_QuickForm-2.0 Release date: 2002-05-15 08:29 UTC Release state: stable Release uploaded by: mansion Changelog: New API for new version 2.0 ! Here is a list of what's new in this version: * Moved all the elements from HTML/QuickForm/Elements/ to HTML/QuickForm/ * Added $_elementIndex to keep track of the elements * Changed $_elementValues to $_defaultValues * Removed $_hidden and $_frozen * Added Filter support * Added templates for the _wrap functions * Changed loadDefault() to setDefaults() * Moved most of the logic to the element classes * Created an abstraction between the form class and the elements * Added getElement() and getElementValue() * Added toArray() * Cleaned up a lot of the code * Added the // {{{ markers to all files to make it for easier reading in vim * Added the error handlers and codes to make errors more descriptive * Added new method setConstants() which is like setDefaults() except that it overrides the POST or GET variables. * Added methods setElementTemplate(), setFormTemplate(), setHeaderTemplate() and setRequiredNotTemplate(). They are pretty self-explanatory. * Added method addData(). Same as before. * Added new method clearAllTemplates() which basically strips out all HTML. This is useful if you want to create a completely custom looking form using addData() * Fixed the toHtml() method so that it is a while statement so that freeze() works. * Fixed a bug in the hidden type, where it was setting the value when you created the element, thus not allowing the value to be set by POST or GET variables. * Took out the is_int test in select.php. * Made the caller a global variable in element.php, so that it can be accessed, if need be, in other element classes. * Changed it so that if an element is frozen and has no value it outputs '' instead of nothing which messes up old browsers like NS4. * Added renderElement() method which will return the html for one element. * Added removeElement() method which removes the element from the elements list. Both methods accept parameters. Dependencies:
|