Cool! I'll give it a try. Thanks Adam!

Ayen Designs - quality software the first time, every time!


From: Adam Gregory <arcaneadam@gmail.com>
Sender: development-bounces@drupal.org
Date: Mon, 20 Jun 2011 11:41:12 -0700
To: <development@drupal.org>
ReplyTo: development@drupal.org
Subject: Re: [development] Fieldsets and variable names

Even with #tree = TRUE, I think you can still individually set the #parents array to modify this.
-----
Adam A. Gregory
Drupal Developer & Consultant
Web: AdamAGregory.com
Twitter: twitter.com/adamgregory
skype: aagregory2
Phone: 661.347.6597


On Mon, Jun 20, 2011 at 11:35 AM, <jeff@ayendesigns.com> wrote:
I have a module in which a settings form is produced that has a layout like the following example:
BREED    GROUP    VARIETY
and the field names were set as $breed . '_' . $group . '_' . $variety, and the db is populated and the code expects that layout.

Now I need to change the form as so:
FIELDSET [GROUP]
    BREED    GROUP    VARIETY

and am wondering if there's a way to accomplish this without affecting the name the variable will be assigned (that is, I am assuming that #tree=true will result in a change to the variable storage).

Thanks!
Jeff