Re: QuickForm_Controller and Smarty, session error
| From: | Trevan Devaun Richins | Date: | Thu, 24 Jun 2004 23:06:30 +0000 |
| Subject: | Re: QuickForm_Controller and Smarty, session error | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13330@lists.php.net to get a copy of this message | ||
Trevan Devaun Richins wrote:
Trevan Devaun Richins wrote:TrevanTrevan Devaun Richins wrote:Actually, I was wrong. It didn't fix it. It just fooled me for a while, but the error popped up again. Also, I just tried FireFox .9. Trevan If I comment the session_start() at the top of the page, the radio button works as expected and no switching occurs. But when it is on, the switching will occur. Same if I disable cookies and the reenable them.Bertrand Mansion wrote:Also, do you get the same error, if you go to the page? TrevanOk, I tried that and it looks like it solved the problem for my dummy page, but it didn't solve the problem for the actual page. Plus, I don't want those labels. I want my own that I place using Smarty. TrevanCan you try to create the radio buttons exactly like the above and report if it works (2 null parameters, not 3). Bertrand Mansion MamasamTry: $radio_button[] =& HTML_QuickForm::createElement('radio',null,null,$radio_value,$radio_value); Use an ampersand in front of your function name as well in order to keep the reference to the created elements/groups.