In my form if I was referencing the value it would be:
Code: Select all
$value = $form['dependent_1']['dependent_1_more'];
So how do I do it in this statement? (as it is it is missing the dependent_1 reference)
Code: Select all
'visible' => array(
':input[name="dependent_1_more"]' => array('value' => 'yes'),
),