RE: [PEAR] Element Groups
| From: | Mike Carter | Date: | Wed, 11 Feb 2004 16:27:25 +0000 |
| Subject: | RE: [PEAR] Element Groups | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10631@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Maik Jürgens [mailto:mj@teamnova.de]
>
> The problem is, that, if i give the group a name , i get the
> POST data
> of that fields in an array $_POST[groupname][fieldname],
> but i need it like: $_POST[fieldname]. (and a rule for it).
>
> is that possible ?
Yes it sure is. Just add some extra parameters to the addGroup() method. For
example:-
$this->addGroup($weight, 'weightGroup', $language['L_Weight'], '',
false);
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
________________________________________________________________________