Hi!
I'm testing this module and after fiddling with it for 20min without getting it to work, think it's better to post this.

1st problem:
If the triggering cck field is set to radio buttons, every dependent field will appear bellow no matter what setting you choose for them, like they would if you didn't have this module installed.

2nd problem:
Setting the triggering cck field to on/off buttons will produce a weird result. From the 3 options, it will only show 1 I have previously selected while the type was set to menu list, it doesn't allow me to change that no matter what, and it also doesn't display the field label, only the option value.

Ricardo

Comments

Tamar Badichi-Levy’s picture

Hi Ricardo,

Are you using the CCK module? Can you please export your CCK fields and upload it so I can check to see what the problem might be?
Moreover, what is your jquery vesrion?

Ofir.

rbl’s picture

jQuery? What do you mean? Do I need it? There's no reference anywhere.

CCK? Sure! Does this work without it? =)

Ricardo

rbl’s picture

Nevermind... I'm still asleep! =)

I'm running drupal 5.7 with the default misc/jquery.js v 1.6
No jQuery modules installed

Ricardo

UPDATE: here's the CCK export:

$content[type]  = array (
  'name' => 'Profile',
  'type' => 'profile',
  'description' => 'Person or group profile',
  'title_label' => 'Name',
  'body_label' => '',
  'min_word_count' => '0',
  'help' => '',
  'node_options' => 
  array (
    'status' => true,
    'promote' => false,
    'sticky' => false,
    'revision' => false,
  ),
  'nodefamily_max' => '1',
  'nodeprofile' => 1,
  'comment' => '0',
  'prepopulate_allowed' => 1,
  'old_type' => 'profile',
  'orig_type' => '',
  'module' => 'node',
  'custom' => '1',
  'modified' => '1',
  'locked' => '0',
  'gcg_node_type_enabled' => 1,
  'gcg_node_result_format' => 'compact',
  'gcg_node_result_on_map' => '-1',
  'gcg_node_result_map_height' => '-1',
  'gcg_node_disabled' => '-1',
  'gcg_node_custom_result' => '-1',
  'gcg_node_required' => '-1',
  'gcg_node_required_accuracy' => '-1',
  'gcg_node_privacy' => '-1',
  'gcg_node_required_privacy' => '-1',
  'gcg_node_enable_dsp' => 1,
  'gcg_node_dsp_context' => 'system',
  'gcg_node_dsp_f_context' => 0,
  'gcg_node_dsp_map_onload' => -1,
  'gcg_node_dsp_f_map_onload' => 0,
  'gcg_node_dsp_mapapi_type' => 'system',
  'gcg_node_dsp_f_mapapi_type' => 0,
  'gcg_node_dsp_map_height' => -1,
  'gcg_node_dsp_f_map_height' => 0,
  'gcg_node_dsp_map_dzoom' => -1,
  'gcg_node_dsp_f_map_dzoom' => 0,
  'gcg_node_dsp_map_type' => 'system',
  'gcg_node_dsp_f_map_type' => 0,
  'gcg_node_dsp_smap_type' => 'system',
  'gcg_node_dsp_f_smap_type' => 0,
  'gcg_node_dsp_map_drag' => -1,
  'gcg_node_dsp_f_map_drag' => 0,
  'gcg_node_dsp_map_zoom' => -1,
  'gcg_node_dsp_f_map_zoom' => 0,
  'gcg_node_dsp_map_scontrol' => -1,
  'gcg_node_dsp_f_map_scontrol' => 0,
  'gcg_node_dsp_weight' => 0,
  'gcg_node_dsp_f_weight' => 0,
);
$content[groups]  = array (
  0 => 
  array (
    'label' => 'Personal information',
    'settings' => 
    array (
      'form' => 
      array (
        'style' => 'fieldset',
        'description' => '',
      ),
      'display' => 
      array (
        'description' => '',
        'teaser' => NULL,
        'full' => NULL,
        'label' => NULL,
      ),
    ),
    'weight' => '0',
    'group_name' => 'group_personal_information',
  ),
);
$content[fields]  = array (
  0 => 
  array (
    'widget_type' => 'options_buttons',
    'label' => 'Profile Type',
    'weight' => '0',
    'description' => 'Note that <strong>Couple</strong> doesn\'t imply any particular type of relationship. Can either be buddies, friends, brother/sister, etc.',
    'default_value_widget' => 
    array (
      'field_profile_type' => 
      array (
        'key' => 'person',
      ),
    ),
    'default_value_php' => '',
    'group' => 'group_personal_information',
    'required' => '1',
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => 'person|Person
couple|Couple
group|Family or group

',
    'allowed_values_php' => '',
    'field_name' => 'field_profile_type',
    'field_type' => 'text',
    'module' => 'text, optionwidgets',
    'default_value' => 
    array (
      0 => 
      array (
        'value' => 'person',
      ),
    ),
  ),
  1 => 
  array (
    'widget_type' => 'text',
    'label' => 'Real name',
    'weight' => '0',
    'rows' => '1',
    'description' => 'First and Last name',
    'default_value_widget' => 
    array (
      'field_real_name' => 
      array (
        0 => 
        array (
          'value' => '',
        ),
      ),
    ),
    'default_value_php' => '',
    'group' => 'group_personal_information',
    'required' => '0',
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => '',
    'allowed_values_php' => '',
    'field_name' => 'field_real_name',
    'field_type' => 'text',
    'module' => 'text',
    'dependent_options' => 
    array (
      0 => 0,
    ),
    'put_after_parent' => false,
  ),
  2 => 
  array (
    'widget_type' => 'text',
    'label' => '2nd person real name',
    'weight' => '1',
    'rows' => '1',
    'description' => '',
    'default_value_widget' => 
    array (
      'field_partner_real_name' => 
      array (
        0 => 
        array (
          'value' => '',
        ),
      ),
    ),
    'default_value_php' => '',
    'group' => 'group_personal_information',
    'required' => '0',
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => '',
    'allowed_values_php' => '',
    'field_name' => 'field_partner_real_name',
    'field_type' => 'text',
    'module' => 'text',
    'dependent_options' => 
    array (
      0 => 2,
    ),
    'put_after_parent' => '0',
  ),
  3 => 
  array (
    'widget_type' => 'text',
    'label' => 'Family/Group member names',
    'weight' => '2',
    'rows' => '1',
    'description' => 'Separate each name with a single comma. Ex: Piotr Rasputin, Katherine Pryde ',
    'default_value_widget' => 
    array (
      'field_group_real_names' => 
      array (
        0 => 
        array (
          'value' => '',
        ),
      ),
    ),
    'default_value_php' => '',
    'group' => 'group_personal_information',
    'required' => '0',
    'multiple' => '0',
    'text_processing' => '0',
    'max_length' => '',
    'allowed_values' => '',
    'allowed_values_php' => '',
    'field_name' => 'field_group_real_names',
    'field_type' => 'text',
    'module' => 'text',
    'dependent_options' => 
    array (
      0 => 3,
    ),
    'put_after_parent' => '0',
  ),
);
srbiv’s picture

Any resolution to this? I am having the same problem. I can get this module to work with a single on/off, however, I'm having no luck with the radio/check boxes.

Tamar Badichi-Levy’s picture

Status: Active » Postponed (maintainer needs more info)

When I try to import 'rbl' cck I get some errors. I am probably missing some modules. Please specify what other modules are involved.