[QuickForm] Groups within groups

From: Date: Thu, 16 Oct 2003 18:32:30 +0000
Subject: [QuickForm] Groups within groups
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8463@lists.php.net to get a copy of this message
Hi, I need to create a group which contains sub-groups. (The sub-groups have to be created as groups since I need to validate them as groups.) Is this possible? I would like to use the dynamic renderer since there are a few different types of such groups that have to be rendered slightly differently. How would I go about creating the dynamic.html file? Should I have a {qf_group} block that contains another {qf_group} within the group element loop? (In the example there is a {qf_block} that contains simple element types inside the group element loop like {textarea}, {radio}, etc.) Or should I name the outer and inner groups differently if having group inside a group is illegal? Or is creating a new custom element the way to go? I am not exactly sure about which way to go. Any help would be greatly appreciated. And thank in advance for that. Prashant. ===== __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

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