Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.10

Bug #1154 addRule doesnt work with grouped text fields
Submitted: 2004-04-07 13:23 UTC
From: schwering at ift-nord dot de Assigned: avb
Status: Closed Package: HTML_QuickForm_Controller
PHP Version: Irrelevant OS: red-hat
Roadmaps: (Not assigned)    
Subscription  


 [2004-04-07 13:23 UTC] schwering at ift-nord dot de
Description: ------------ code is taken from: regWizard.php from QuickForm Controller examples, but seems to be a QuickForm bug. Rule doesnt work, u could enter nothing and no error info comes up. :( so your example is buggy (ive entered all required fields on the first page, on second page ive entered some demo text in fields: your company,your address and city but, no firstname neither lastname) and after clicking finish: action process shows me the array.. without any error.. Reproduce code: --------------- $name[] = &HTML_QuickForm::createElement('text', 'first', 'Firstname', array('size' => 16, 'maxlength' => 63)); $name[] = &HTML_QuickForm::createElement('text', 'last', 'Lastname', array('size' => 16, 'maxlength' => 63)); $this->addGroup($name, 'name', 'Your name :', null, false); $this->addRule('name', 'First and last names are required', 'required'); Expected result: ---------------- after input nothing i expect an error Actual result: -------------- no error is shown after input nothing

Comments

 [2004-04-07 16:33 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-04-10 09:48 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-09-05 15:47 UTC] race_cat_scarlett at yahoo dot com
when I go to compose to send A massege my text box dose not work