RE: [PEAR] QFController processing

From: Date: Fri, 19 Dec 2003 13:40:55 +0000
Subject: RE: [PEAR] QFController processing
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9725@lists.php.net to get a copy of this message
> -----Original Message----- > From: Alexey Borzov [mailto:borz_off@cs.msu.su] > > Mike Carter wrote: > > Okay, I over looked the use of the 'submit' handler - but > it achieves the > > same thing I already had. Which, in turn, means I am still > in the same > > situation where the $page->exportValues() method doesn't > return all the form > > elements which got posted to the script (see debug output > in previous > > email). > > Oh, I've finally read *all* of your previous mail. > > Looks strange indeed. I found that if I moved my advcheckbox element to the last elemtn being added to my form then eveyrthing worked fine. Code to add 'advcheckbox' is below incase you spot something plain wrong in it. $isSensitive[] = &HTML_QuickForm::createElement('advcheckbox', 'isSensitive', null); $isSensitive[] = &HTML_QuickForm::createElement('link', 'help', '', '?', "<img src=\"".$GLOBALS['smarty']->get_template_vars('secureIconPath')."help.gif\" width=\"12\" height=\"16\" border=\"0\" title=\"".$language['L_ClickForHelp']."\" alt=\"?".$language['L_ClickForHelp']."\" align=\"middle\">", array('onclick' => "return showHelpTip(event, '".$language['L_HelpSensitive']."', true);", 'class' => 'helpLink')); $this->addGroup($isSensitive, 'isSensitiveGroup', $language['L_Sensitive']); Quite a strange behaviour... Regards, Mike C. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

« previous php.pear.general (#9725) next »