[development] Fieldsets and variable names
Adam Gregory
arcaneadam at gmail.com
Mon Jun 20 18:41:12 UTC 2011
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/2cf7097e/attachment.html
More information about the development
mailing list