locked
drop down values change on the fly RRS feed

  • Question

  • Hi Everyone,

    I am customizing lead form, have 2 custom drop down.

    Lets say A and B.

    What I want is,  on selection of A, values in B should change.

    Can anyone suggest me, javascript code for that?

    I am new to javascript, but not to programming. 

    Many thanks in advance.

    Best Regards,

    Ashay Shingornikar

    Wednesday, November 25, 2015 6:31 PM

All replies

  • Hi,

    You can do this but you need to have all the options in optionset B and then have a js onchange of optionset A where you remove options from optionset B so that only those that are relevant will show. If you would change optionset A value you will need to repopulate optionset B so there is a lot of code to be written for this to work.

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Thursday, November 26, 2015 10:01 AM
  • This feature in CRM is called Dependent Picklist. Google it you might find other solutions. Few are:-

    https://msdn.microsoft.com/en-us/library/gg594433.aspx
    
    
    http://blog.webfortis.com/another-approach-to-dependent-pick-lists-crm-microsoft

    

    Regards Faisal


    • Edited by Faisal Fiaz Thursday, November 26, 2015 11:09 AM
    Thursday, November 26, 2015 11:09 AM