[development] Fieldsets and variable names
jeff at ayendesigns.com
jeff at ayendesigns.com
Mon Jun 20 18:44:22 UTC 2011
Cool! I'll give it a try. Thanks Adam!
Ayen Designs - quality software the first time, every time!
-----Original Message-----
From: Adam Gregory <arcaneadam at gmail.com>
Sender: development-bounces at drupal.org
Date: Mon, 20 Jun 2011 11:41:12
To: <development at drupal.org>
Reply-To: development at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110620/60426ba7/attachment.html
More information about the development
mailing list