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 Reply Children
  • Cool, in Studio > Dropdown Editor, Create 2 Dropdown Lists

    for example:

    1)

    food

    drink

    2)

    food_pizza

    food_hotdog

    drink_fanta

    drink_pepsi

    3) Then go in Fields in your Module and Create a DropDown Field, select the list you created in step 1 above, give the dropdown a name and save it.

    Next create a Dynamic Dropdown, select the list you created in step 2 above, also fill in Parent Dropdown with the Field Name for the Dropdown created in Step 3, the field name will have _c at the end, for example if you called your dropdown 'Takeaway Type' in step 3 it might be called takeaway_c.

    Note how I've named the dropdown options in step 2, the prefix has to match the values from the list in step 1, followed by a _.

    Next add both dropdowns to your layout in Studio > Module Name > Layout