Not getting controlling field value in controlled by field of php block

apv - August 6, 2009 - 10:13
Project:Conditional Fields
Version:6.x-1.0-beta2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I created two dropdown box using cck.. my aim is to filter second dropdown based on first dropdown value. is this possible with this module. or how to get value of controlling field in to the php block
Any help appreciated

Thanks

#1

apv - August 6, 2009 - 12:32
Priority:critical» normal

#2

bendev - October 25, 2009 - 11:39

I have the same issue.

I want to hide a controled field in a form if the gender (controlling field) is set to male.

I have created a field gender that I set via PHP allowed values (CCK) to a unique value (male or female)
This step works corretly.

However in the list of values for the controling field, only female appears and not male...

The behaviour is not correct and the field is always displayed although the gender is displayed correctly...

I found a solution by using php default value instead of allowed value...
The only issue left is related to permission on the controlling field

 
 

Drupal is a registered trademark of Dries Buytaert.