HTML_QuickForm_Element accessing the HTML_QuickForm form name

From: Date: Wed, 23 Feb 2005 15:59:10 +0000
Subject: HTML_QuickForm_Element accessing the HTML_QuickForm form name
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17646@lists.php.net to get a copy of this message
I can't see how it's possible for an HTML_QuickForm_Element class to access the name of the form which it belongs to. I've put some javascript into a form element which relies on the formanme being known by some other included javascript, so the HTML_QuickForm_Element::toHtml() mehtod calls some javascript to set some variables. Anyway, all that is pretty irrelivent ;) does anyone know if there is a way for a HTML_QuickForm_Element to know the name of the form? I would have thoguht that each element would comtain a pointer to the form, but it doesnt' appear to. Any thoughts? Kind Regards, -- Ian P. Christian http://pookey.co.uk

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