PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 01, 2020 6:31 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Syntax question
PostPosted: Wed Jan 13, 2016 8:05 pm 
Offline
Forum Contributor

Joined: Sat Nov 04, 2006 9:45 pm
Posts: 133
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:
Syntax: [ Download ] [ Hide ]
$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)
Syntax: [ Download ] [ Hide ]
'visible' => array(
':input[name="dependent_1_more"]' => array('value' => 'yes'),  
),


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group