Syntax question
Posted: Wed Jan 13, 2016 7:05 pm
I am working on some Drupal code and have a part that I cant find the answer to. It is related to syntax I think.
In my form if I was referencing the value it would be:
So how do I do it in this statement? (as it is it is missing the dependent_1 reference)
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'),
),