marcinkazmierczak / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

elements name as array #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.$form->addElement(new Element_Email("E-mail contato:", "banda[email]"))
2.check validation
3.validation fail

What is the expected output? What do you see instead?
should send an ERROR when a non e-mail gived, but accept any string as valid

What version of the product are you using? On what operating system?
2.3

Please provide any additional information below.
i didnt check another fields validation.. but i guess its not only in e-mail 
cases.maybe the class cant support "array" names like:
$form->addElement(new Element_Email("E-mail contato:", "banda[email]"));

Original issue reported on code.google.com by cheo...@gmail.com on 11 Jun 2012 at 2:47