Re: Heterogeneous element types in AddGroup?

From: Date: Wed, 11 Jun 2003 05:46:44 +0000
Subject: Re: Heterogeneous element types in AddGroup?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5903@lists.php.net to get a copy of this message
Hi! Andy Kalinowitsch wrote:
Hi, I'm trying to create a group in QuickForm containing a dynamic list of heterogeneous elements (text, textarea, checkbox, radio, & select). My code is at the end of this posting -- the cust_fields array gets constructed properly (3 elements indexed numerically), but when I pass it to the AddGroup, it gets transformed into the following. Am I invoking AddGroup incorrectly, or is it just not possible to construct a heterogeneous group?
You didn't say one thing: what were you *expecting* to get? The behaviour you described is intended, nothing suspicious.

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