Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 9, 2010
  1. Alexey Borzov
Commits on Dec 8, 2010
  1. Alexey Borzov

    * Merged filters_api branch

    sad-spirit authored
     * Updated release notes in package.xml
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@306085 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    * Make getRawValue() public

    sad-spirit authored
     * Fix Container::getRawValue() to actually return unfiltered values of child elements
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@306084 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 21, 2010
  1. Alexey Borzov

    Per discussion: instead of using applyFilters() everywhere in getValu…

    sad-spirit authored
    …e() rename getValue() -> getRawValue() and apply filters in single getValue() implementation in Node
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305624 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    Step 2: moved most of filter-related stuff to Node, got rid of getFil…

    sad-spirit authored
    …ters() / getFilterChain(). It is now possible to apply a filter non-recursively to an element's array value (e.g. multiselect)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305603 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 20, 2010
  1. Alexey Borzov

    Step 1: added all filter-related methods to Node, made getFilters() /…

    sad-spirit authored
    … getFilterChain() protected. Added addRecursiveFilter(), currently an alias for addFilter()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/filters_api@305583 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 14, 2010
  1. Bertrand Mansion

    * When elements are removed, the Container elements should be renumbe…

    golgote authored
    …red to be compatible with what is done in Group setValue()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@305336 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Nov 12, 2010
  1. Alexey Borzov
Commits on Nov 5, 2010
  1. Alexey Borzov
Commits on Nov 2, 2010
  1. Bertrand Mansion

    Make filters work in cascade

    golgote authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@305027 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 25, 2010
  1. Alexey Borzov

    Undo "Q"A release

    sad-spirit authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304872 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Daniel O'Connor

    QA release

    CloCkWeRX authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304859 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 19, 2010
  1. Alexey Borzov

    Fix broken tests

    sad-spirit authored
    Get rid of gettype() in JavascriptBuilder::encode(), quoting from manual:
    > Never use gettype() to test for a certain type, since the returned string may be subject to change in a future version. In addition, it is slow too, as it involves string comparison. 
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304515 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 7, 2010
  1. Alexey Borzov

    Start release notes for 0.5

    sad-spirit authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304185 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    Fixed unexpected behaviour in Array DataSource (see http://news.php.n…

    sad-spirit authored
    …et/php.pear.general/30752)
    
    Changed client-side validation to validate submit values (e.g. ignore disabled elements and elements that don't have a submit value)
    Checks for empty values in client-side validation now use qf.rules.empty()
    Redone getJavascriptValue() to be able to ignore values of static-like elements and properly get values for child elements like dualselect, updated that example.
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@304176 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 2, 2010
  1. Alexey Borzov
  2. Alexey Borzov

    Fixed Hierselect behaviour under IE

    sad-spirit authored
    Rule callbacks now execute in the context of validator (may be needed for "form rules")
    Added Date and Hierselect to basic-elements example
    Added delay to hierselect-ajax example to make difference between sync and async more obvious
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303934 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Alexey Borzov
  4. Alexey Borzov

    Possibility to load Hierselect options via Javascript callback, examp…

    sad-spirit authored
    …le for AJAX-backed Hierselect (requires HTML_AJAX package to run)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303930 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Oct 1, 2010
  1. Alexey Borzov
Commits on Sep 30, 2010
  1. Alexey Borzov
  2. Alexey Borzov

    Do not generate client-side validation for frozen elements, moved gen…

    sad-spirit authored
    …eration to a separate method
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303903 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 29, 2010
  1. Alexey Borzov

    JSDoc comments in main JS library file, saner naming (this unfortunat…

    sad-spirit authored
    …ely means validator -> Validator and map -> Map), rules should better handle null and undefined values.
    
    TODO: handle disabled elements, better implementation of getContainerValue()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303879 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 24, 2010
  1. Alexey Borzov

    * Fixed Date element to not output all selects with the same id attr…

    sad-spirit authored
    …ibute
    
      * Container::getJavascriptValue() should not attempt to get Static elements' values
      * Fixed Hierselect: __toString() shouldn't try to output validation rules, form reset works properly for hierselects with more than 2 selects
      * Implemented server-side callback for getting Hierselect options, client-side to follow...
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303756 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 23, 2010
  1. Alexey Borzov

    Client-side validation rules work for groups, added a special case fo…

    sad-spirit authored
    …r a group of checkboxes in qf.rules.nonempty
    
    Redone dualselect example to use JavascriptBuilder, added client-side validation for that
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303737 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 22, 2010
  1. Alexey Borzov

    Port of HTML_QuickForm_hierselect:

    sad-spirit authored
      * not (yet) possible to plug in callbacks,
      * fixed bug #16603.
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303690 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 17, 2010
  1. Alexey Borzov

    Made generated Javascript validation code a bit less verbose.

    sad-spirit authored
    HTML_QuickForm2_Rule_Empty can now validate elements with array values (e.g. <select multiple>).
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303452 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 16, 2010
  1. Alexey Borzov

    Somewhat complete implementation of JavascriptBuilder, with unit tests

    sad-spirit authored
    Array renderer outputs form javascript, too
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303432 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 13, 2010
  1. Alexey Borzov

    * Generate client-side Container rules after rules on contained elem…

    sad-spirit authored
    …ents (similar to request #17576)
    
      * Implemented client-side validation for (Not)Callback rules
      * Added Date element to package.xml
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303328 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 12, 2010
  1. Alexey Borzov

    * Implemented client-side validation for HTML_QuickForm2_Rule_Each

    sad-spirit authored
     * Added a method for encoding PHP values to Javascript literals to JavascriptBuilder class
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303299 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    * Removed contentReady JS handler, we now just append validation cod…

    sad-spirit authored
    …e to the form.
    
       Reference: https://groups.google.com/group/closure-library-discuss/browse_thread/thread/1beecbb5d6afcb41
     * renamed RUNAT_SERVER and RUNAT_CLIENT constants to just SERVER and CLIENT
     * Added Static element to Factory
     * Fixed Call-time pass-by-reference warning (bug #17557)
     * Added a div around form elements to prevent generating invalid HTML (bug #17217)
     * Container rules are now called after rules on contained elements (request #17576)
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@303288 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 25, 2010
  1. Bertrand Mansion
Commits on Jun 24, 2010
  1. Bertrand Mansion

    Fix doc on recursive filters

    golgote authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@300724 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Bertrand Mansion

    Add filters

    golgote authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@300722 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 24, 2010
  1. Alexey Borzov

    * Renamed (get|set)JsBuilder() to (get|set)JavascriptBuilder()

    sad-spirit authored
      * Implemented Container::getJavascriptValue(), Nonempty Rule can validate Containers client-side
      * Added an additional parameter to addRule() that enables client-side validation, instead of always enabling that 
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@299706 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.