Rendering vertical tabs inside vertical tabs
kiamlaluno - November 7, 2009 - 11:40
| Project: | Vertical Tabs |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I have the need to render with Vertical tabs, only the fieldsets that are contained in a fieldset. Those fieldsets are created by a function, and then added into an existing form using a Drupal core hook.
Is it possible to do it?
Thanks in advance for any help / suggestion.

#1
This is what I get, so far (see the attached screenshot).
After the shown fieldset, there are again the form fields added by Nodewords, rendered from Vertical tabs.
#2
It seems I have problems on attaching the image (it is just 70 KB).I will then describe what I get.
The module Nodewords add a fieldset
This seems a particular case, but it could happen on every form where Nodewords add its own form fields.
I guess I should add the support for Vertical tabs only in the forms created by Nodewords.
Is this a known issue?
#3
Need screenshot
#4
Note you can also pass an array of fieldset element names in vertical_tabs_add_vertical_tabs() to control which fieldsets are vertical-tabizied.
#5
I am sorry for the screenshot; it seems that sometimes I cannot add attachments.
This time I was able to add it.
#6
What it is not visible in the screenshot is what I was talking of in the comment #2; the form fields the module adds are duplicated at the bottom of the form, right before the buttons.
#7
Hmm... I thought it was possible to do vertical tabs inside vertical tabs... looking into it.
#8