Download & Extend

Problem with custom fieldset video_upload

Project:Vertical Tabs
Version:6.x-1.0-beta7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,
I try to create a fieldset with this code, it is shown, but if I mark it, to include it into vertical tabs, I go this error:

Illegal choice video_upload in vertical_tabs_fieldsets element

Could someone give me a hint to solve this?

...
   $form['video_upload'] = array(
      '#type' => 'fieldset',
      '#title' => t('Video upload'),
      '#collapsible' => TRUE,
      '#collapsed' => TRUE,
      '#weight' => 30,
    );

Comments

#1

Status:active» postponed (maintainer needs more info)

Can you paste in more of your form code? Need to see more than just the one item.

#2

Title:integrate modules fieldset» Problem with custom fieldset video_upload

#3

Version:6.x-1.0-beta4» 6.x-1.0-beta7

Please also try with the latest code, beta7.

#4

hi,
I will try it.

#5

Since beta7, you need to add
'#group' => 'additional settings',
to the forms you want to vertical tabify

#6

Status:postponed (maintainer needs more info)» fixed

At this point, this issue is going to be marked as fixed due to a lack of follow-up. If you can provide the requested details or more information, please re-open the issue.

This message is automatically generated. If you feel it could be improved, feel free to comment on http://drupal.org/node/467548

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here