AnsweredAssumed Answered

How can I make a dropdown dependent on another dropdown in 7.2?

Question asked by pernille.schnoor@its4u.lu pernille.schnoor@its4u.lu on Jun 11, 2014
Latest reply on Jun 11, 2014 by paperless
I am trying to make a drop down, which is dependent on another drop down in Sugar 7.2. I am fairly new to Sugar, so I cannot see, what would be the best solution. 

I have tried more solutions, but I think a custom function would resolve my problems as only java-script will only be in record view and I need to make it work from sub panels as well.

Can someone help me with the this?

What I need to do is:
A drop down with the values (taken from visibility grid);
$dictionary['Opportunity']['fields']['filiere_code_dropdown_c']['visibility_grid']= array(
    'trigger' => 'filiere_c',

        'values' => array(

            'Engineering' => array(

                'Ing'

            ),

            'Training' => array(

                'For'

                ),

            'Project Management' => array(

                'PMO'

                ),

            'Consultancy' => array(

                'Con'

                ),

            'Development' => array(

                'Edi'

                ),

            'Resale' => array(

                'Rev'

                ),

            'Undefined' => array(

                'SO'

                ),

            ),

);

Thank you for the help.

Pernille

Outcomes