<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=HTML_QuickForm2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20985" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20957" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19713" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19672" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19598" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17842" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16906" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15618" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20985">
      <title>HTML_QuickForm2: Bug 20985 [Open] Empty rules is not supported for group containing group</title>
      <link>http://pear.php.net/bugs/20985</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Bug
Reported by stav
2015-11-18T19:07:14+00:00
PHP: Irrelevant OS:  Package Version: 2.0.2

Description:
------------
* Create a main group
* Create a child group of main group
* add a validation rules 'empty' to main group

Validation generate a warning and don't fail if child group is non empty

Test script:
---------------
$form       = new HTML_QuickForm2('garage');
/** @var HTML_QuickForm2_Container_Group $carGroup */
$carGroup   = $form-&gt;addElement('group', 'car');
/** @var HTML_QuickForm2_Container_Group $motorGroup */
$motorGroup = $carGroup-&gt;addElement('group', 'motor');
$motorGroup-&gt;addElement('text', 'name');

$nameField = $carGroup-&gt;addElement('text', 'name');
$carGroup-&gt;addRule('empty');
$nameField-&gt;addRule('nonempty', 'name is required')
    -&gt;or_($carGroup-&gt;createRule('empty'));

$_POST['car'] = array('motor'=&gt;array('name'=&gt;'example'));
$form-&gt;addDataSource(new HTML_QuickForm2_DataSource_SuperGlobal('POST'));
var_dump($form-&gt;validate());

Expected result:
----------------
bool(false)

Actual result:
--------------
Warning: strlen() expects parameter 1 to be string, array given
bool(true)</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Bug
Reported by stav
2015-11-18T19:07:14+00:00
PHP: Irrelevant OS:  Package Version: 2.0.2

Description:
------------
* Create a main group
* Create a child group of main group
* add a validation rules 'empty' to main group

Validation generate a warning and don't fail if child group is non empty

Test script:
---------------
$form       = new HTML_QuickForm2('garage');
/** @var HTML_QuickForm2_Container_Group $carGroup */
$carGroup   = $form-&gt;addElement('group', 'car');
/** @var HTML_QuickForm2_Container_Group $motorGroup */
$motorGroup = $carGroup-&gt;addElement('group', 'motor');
$motorGroup-&gt;addElement('text', 'name');

$nameField = $carGroup-&gt;addElement('text', 'name');
$carGroup-&gt;addRule('empty');
$nameField-&gt;addRule('nonempty', 'name is required')
    -&gt;or_($carGroup-&gt;createRule('empty'));

$_POST['car'] = array('motor'=&gt;array('name'=&gt;'example'));
$form-&gt;addDataSource(new HTML_QuickForm2_DataSource_SuperGlobal('POST'));
var_dump($form-&gt;validate());

Expected result:
----------------
bool(false)

Actual result:
--------------
Warning: strlen() expects parameter 1 to be string, array given
bool(true)</pre>]]></description>
      <dc:date>2015-11-18T19:07:14+00:00</dc:date>
      <dc:creator>bastien &amp;#x64;&amp;#111;&amp;#x74; blanchard &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_QuickForm2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20957">
      <title>HTML_QuickForm2: Bug 20957 [Open] Error with getting file array</title>
      <link>http://pear.php.net/bugs/20957</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Bug
Reported by loki
2015-10-02T17:40:42+00:00
PHP: Irrelevant OS:  Package Version: 2.0.2

Description:
------------
Error getting uploaded file with using html file arrays:
&lt;input type='file' name='myfile[]' /&gt;

Test script:
---------------
$form=new HTML_QuickForm2(null, 'post', array('action'=&gt;'#'), false);
$file=$form-&gt;addElement('file', 'myfile[]', array('multiple'=&gt;'multiple'), array('label'=&gt;'Upload file'));

if ($form-&gt;validate()) {
  var_dump($form-&gt;getValue());
}


echo $form;

Expected result:
----------------
array
  'myfile' =&gt; 
    array
      'name' =&gt; 
        array
          0 =&gt; string 'file1.jpg' (length=36)
          1 =&gt; string 'file2.jpeg' (length=37)
          ...
      'type' =&gt; 
        array
          0 =&gt; string 'image/jpeg' (length=10)
          1 =&gt; string 'image/jpeg' (length=10)
          ...
      'tmp_name' =&gt; 
        array
          0 =&gt; string '/tmp/php2D.tmp' (length=16)
          1 =&gt; string '/tmp/php2E.tmp' (length=16)
          ...
      'error' =&gt; 
        array
          0 =&gt; int 0
          1 =&gt; int 0
          ...
      'size' =&gt; 
        array
          0 =&gt; int 5806
          1 =&gt; int 4979
          ...

Actual result:
--------------
empty</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Bug
Reported by loki
2015-10-02T17:40:42+00:00
PHP: Irrelevant OS:  Package Version: 2.0.2

Description:
------------
Error getting uploaded file with using html file arrays:
&lt;input type='file' name='myfile[]' /&gt;

Test script:
---------------
$form=new HTML_QuickForm2(null, 'post', array('action'=&gt;'#'), false);
$file=$form-&gt;addElement('file', 'myfile[]', array('multiple'=&gt;'multiple'), array('label'=&gt;'Upload file'));

if ($form-&gt;validate()) {
  var_dump($form-&gt;getValue());
}


echo $form;

Expected result:
----------------
array
  'myfile' =&gt; 
    array
      'name' =&gt; 
        array
          0 =&gt; string 'file1.jpg' (length=36)
          1 =&gt; string 'file2.jpeg' (length=37)
          ...
      'type' =&gt; 
        array
          0 =&gt; string 'image/jpeg' (length=10)
          1 =&gt; string 'image/jpeg' (length=10)
          ...
      'tmp_name' =&gt; 
        array
          0 =&gt; string '/tmp/php2D.tmp' (length=16)
          1 =&gt; string '/tmp/php2E.tmp' (length=16)
          ...
      'error' =&gt; 
        array
          0 =&gt; int 0
          1 =&gt; int 0
          ...
      'size' =&gt; 
        array
          0 =&gt; int 5806
          1 =&gt; int 4979
          ...

Actual result:
--------------
empty</pre>]]></description>
      <dc:date>2015-10-02T17:40:42+00:00</dc:date>
      <dc:creator>loki_angel &amp;#x61;&amp;#116; mail &amp;#x64;&amp;#111;&amp;#x74; ru</dc:creator>
      <dc:subject>HTML_QuickForm2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19713">
      <title>HTML_QuickForm2: Feature/Change Request 19713 [Open] Add option to output both grouped and ungrouped errors</title>
      <link>http://pear.php.net/bugs/19713</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by kevinoid
2012-11-20T16:26:43+00:00
PHP: Irrelevant OS:  Package Version: 2.0.0

Description:
------------
A modification that I am using locally, which I have found to be quite useful, is the option to output both grouped and ungrouped errors from renderers (particularly HTML_QuickForm2_Renderer_Default).  I would appreciate it if you would consider adding such a feature to the official release.

The largest use case that I have found for this feature is adding classes to the input elements (e.g. an &quot;invalid&quot; or &quot;error&quot;) and/or error markers (e.g. a red &quot;*&quot;) to make it clear which field has an error while keeping the detailed error messages in a group at the top of the form.

Since the above is the largest use case that I have, an alternative to facilitate this (such as adding &lt;qf:errormarker /&gt; or similar) would also be fine with me if you think it would be easier or have less impact on version compatibility.

I appreciate your thoughts, and all your work on QuickForm!</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by kevinoid
2012-11-20T16:26:43+00:00
PHP: Irrelevant OS:  Package Version: 2.0.0

Description:
------------
A modification that I am using locally, which I have found to be quite useful, is the option to output both grouped and ungrouped errors from renderers (particularly HTML_QuickForm2_Renderer_Default).  I would appreciate it if you would consider adding such a feature to the official release.

The largest use case that I have found for this feature is adding classes to the input elements (e.g. an &quot;invalid&quot; or &quot;error&quot;) and/or error markers (e.g. a red &quot;*&quot;) to make it clear which field has an error while keeping the detailed error messages in a group at the top of the form.

Since the above is the largest use case that I have, an alternative to facilitate this (such as adding &lt;qf:errormarker /&gt; or similar) would also be fine with me if you think it would be easier or have less impact on version compatibility.

I appreciate your thoughts, and all your work on QuickForm!</pre>]]></description>
      <dc:date>2012-11-20T16:26:43+00:00</dc:date>
      <dc:creator>kevin &amp;#x61;&amp;#116; kevinlocke &amp;#x64;&amp;#111;&amp;#x74; name</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19672">
      <title>HTML_QuickForm2: Feature/Change Request 19672 [Open] Add advcheckbox</title>
      <link>http://pear.php.net/bugs/19672</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by pgolovin
2012-10-24T01:46:09+00:00
PHP: 5.3.4 OS: Debian 6 Package Version: 2.0.0

Description:
------------
It will be very good to add advanced element for checkbox, 
which returns value in both state: checked and unchecked, like it 
was done in Quick_Form.</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by pgolovin
2012-10-24T01:46:09+00:00
PHP: 5.3.4 OS: Debian 6 Package Version: 2.0.0

Description:
------------
It will be very good to add advanced element for checkbox, 
which returns value in both state: checked and unchecked, like it 
was done in Quick_Form.</pre>]]></description>
      <dc:date>2012-10-24T01:46:09+00:00</dc:date>
      <dc:creator>pgolovin &amp;#x61;&amp;#116; inbox &amp;#x64;&amp;#111;&amp;#x74; ru</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19598">
      <title>HTML_QuickForm2: Feature/Change Request 19598 [Analyzed] Validate Single Field</title>
      <link>http://pear.php.net/bugs/19598</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by gebert
2012-09-07T21:10:28+00:00
PHP: 5.3.12 OS: Ubuntu/Lucid Package Version: 2.0.0

Description:
------------
There appears to be no way to validate a single field. Validate() is protected  and the rules array is protected on the Node class. We would like to make server remote calls for validation of a single field in a form object. It appears there is no way to do this without extending the QuickForm2 object. Please create a standard interface to do this.</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by gebert
2012-09-07T21:10:28+00:00
PHP: 5.3.12 OS: Ubuntu/Lucid Package Version: 2.0.0

Description:
------------
There appears to be no way to validate a single field. Validate() is protected  and the rules array is protected on the Node class. We would like to make server remote calls for validation of a single field in a form object. It appears there is no way to do this without extending the QuickForm2 object. Please create a standard interface to do this.</pre>]]></description>
      <dc:date>2013-01-29T03:06:01+00:00</dc:date>
      <dc:creator>gene &amp;#x64;&amp;#111;&amp;#x74; ritter &amp;#x61;&amp;#116; johnsonfit &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17842">
      <title>HTML_QuickForm2: Feature/Change Request 17842 [Open] Support for HTML5 form input methods</title>
      <link>http://pear.php.net/bugs/17842</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by nickcharsley
2010-09-03T19:58:46+00:00
PHP: 5.3.3 OS: N/A Package Version: 0.4.0

Description:
------------
With the arrival of the new HTML5 input types it would be nice to see them appear as QuickForm2 Elements.

search 
tel 
url 
email 
datetime 
date 
month 
week 
time 
datetime-local 
number 
range 
color</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by nickcharsley
2010-09-03T19:58:46+00:00
PHP: 5.3.3 OS: N/A Package Version: 0.4.0

Description:
------------
With the arrival of the new HTML5 input types it would be nice to see them appear as QuickForm2 Elements.

search 
tel 
url 
email 
datetime 
date 
month 
week 
time 
datetime-local 
number 
range 
color</pre>]]></description>
      <dc:date>2011-03-27T12:07:03+00:00</dc:date>
      <dc:creator>nick &amp;#x61;&amp;#116; oldnicksoftware &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16906">
      <title>HTML_QuickForm2: Feature/Change Request 16906 [Assigned] no email validation like HTML_QuickForm_Rule_Email</title>
      <link>http://pear.php.net/bugs/16906</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by hm2k
2009-12-15T16:27:23+00:00
PHP: Irrelevant OS:  Package Version: 0.3.0

Description:
------------
HTML_QuickForm had email validation HTML_QuickForm2 does not, any reason?</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by hm2k
2009-12-15T16:27:23+00:00
PHP: Irrelevant OS:  Package Version: 0.3.0

Description:
------------
HTML_QuickForm had email validation HTML_QuickForm2 does not, any reason?</pre>]]></description>
      <dc:date>2012-03-20T20:26:19+00:00</dc:date>
      <dc:creator>hm2k &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15618">
      <title>HTML_QuickForm2: Feature/Change Request 15618 [Open] [patch] support arrayAccess interface</title>
      <link>http://pear.php.net/bugs/15618</link>
      <content:encoded><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by cybot
2009-01-12T15:28:51+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
These patch implements arrayAccess Interface into HTML_QuickForm2_Container</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_QuickForm2 Feature/Change Request
Reported by cybot
2009-01-12T15:28:51+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
These patch implements arrayAccess Interface into HTML_QuickForm2_Container</pre>]]></description>
      <dc:date>2012-04-08T23:17:47+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; sebastianmendel &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>HTML_QuickForm2 Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
