can someone help me pls?! i am new in sugarcrm ce and i know a bit of php

i have tried many things and i have checked others post but they are kind advance for my knowledge on this. how can i create a dropdown dependent step by step, i am new in sugar and i know a bit of php. im running sugarcrm ce v 6.5.22  in centos, i have creater 2 dropdown independent but i dont know how to linked both and the path to check where the codes are.  keep in mind i am new in this. this is a task for school. your help will be really appreciate.

Parents
  • Hi josh avila 

    Dependent Dropdown is only supported on edition PRO or higher, so you would need to create such dependency by hand, which requires javascript knowledge.

    I had implemented in the past the DevToolKit, which enables developers to implement some customization with just a little of coding, like dependent dropdown, conditional visible fields, conditional editable fields, masked fields and some other features.

    Find attached an installer for the DevToolKit.

    Kind regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • dont include 'Reservas'

    and *Información General => "Consultas de información de oficinas o estaciones and Consulta de políticas y procedimientos" ;

    ---------------------------------------------

    i have created 3 lists: 

    Connect_Miles_list =>  "información de acreditación de millas and Homologación estatus"

    Equipaje_list => "Consulta sobre franquicia and Consulta sobre objetos especiales"

    Reservas_list => "Consultas de información de oficinas o estaciones and Consulta de políticas y procedimientos"

    i have my js code in 

    path: SugarCRM\custom\modules\aff_ClienteCopa\metadata

    <?php
    $update_dropdown_field_defs = array(
    'tema_llamada' => array(
    '' => array('sub_tema_llamada' => 'lista_vacia_list'),
    'Connect_Miles' => array('sub_tema_llamada' => 'Connect_Miles_list'),
    'Equipaje' => array('sub_tema_llamada' => 'Equipaje_list'),
    'Información_General' => array('sub_tema_llamada' => 'Información_General_list'),
    ),
    );

    ?>

    Alex NassiMadalina PapacicaAndré LopesDev Club

Reply
  • dont include 'Reservas'

    and *Información General => "Consultas de información de oficinas o estaciones and Consulta de políticas y procedimientos" ;

    ---------------------------------------------

    i have created 3 lists: 

    Connect_Miles_list =>  "información de acreditación de millas and Homologación estatus"

    Equipaje_list => "Consulta sobre franquicia and Consulta sobre objetos especiales"

    Reservas_list => "Consultas de información de oficinas o estaciones and Consulta de políticas y procedimientos"

    i have my js code in 

    path: SugarCRM\custom\modules\aff_ClienteCopa\metadata

    <?php
    $update_dropdown_field_defs = array(
    'tema_llamada' => array(
    '' => array('sub_tema_llamada' => 'lista_vacia_list'),
    'Connect_Miles' => array('sub_tema_llamada' => 'Connect_Miles_list'),
    'Equipaje' => array('sub_tema_llamada' => 'Equipaje_list'),
    'Información_General' => array('sub_tema_llamada' => 'Información_General_list'),
    ),
    );

    ?>

    Alex NassiMadalina PapacicaAndré LopesDev Club

Children
No Data