Results 1 to 4 of 4

Thread: Dynamic Dropdowns?

  1. #1
    kit_ethan is offline Junior Member
    Join Date
    Feb 2006
    Posts
    2

    Default Dynamic Dropdowns?

    Hi,

    I'm new to SugarCRM and have been exploring its functionalities. And I must say, it is a very powerful application.

    One thing though that I could not implement is a dynamic dropdown where its values depend on other dropdowns. Is this possible?

    Let's say I have a "Category" and a "Sub-Category" dropdown. If I select Category X, I want to limit the display of the "Sub-Category" dropdown to those under Category X. This is similar to the releationships between modules.

    Hope this is possible. Thanks.

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Dynamic Dropdowns?

    There isnt a way to do this with adding some custom code. You cant create chained selects from the Custom Dropdown editor although I have been thinking about how to add this, but it's a UI nightmare so far.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    kit_ethan is offline Junior Member
    Join Date
    Feb 2006
    Posts
    2

    Default Re: Dynamic Dropdowns?

    I see. Thanks for the reply.

    IF this would involve custom code, can you recommend the easiest way to do it?

    Is it possible to place queries within en_us.lang.php where all dropdown items are located?

    Thanks.

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Dynamic Dropdowns?

    Quote Originally Posted by kit_ethan
    I see. Thanks for the reply.

    IF this would involve custom code, can you recommend the easiest way to do it?

    Is it possible to place queries within en_us.lang.php where all dropdown items are located?

    Thanks.
    No, you would have to add javascript to the editview.html and some code to fill the different options in editview.php.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •