locked
CRM 2011 dropdown - how to disabled the option set value using javascript? RRS feed

  • Question

  • Hi,

    I want to disable some values in dropdown list or visible false. Need help.


    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Yogesh Vijay Mulay

    Tuesday, March 19, 2013 7:23 AM

Answers

  • Hi,

    Use this in you JavaScript:

    Xrm.Page.getControl('field name').removeOption(value);


    If the answer helped you, remember to mark it as answer.

    Tuesday, March 19, 2013 8:28 AM
    Moderator

All replies

  • check this link clearly it will help full to you

    http://guruprasadcrm.blogspot.in/2010/11/dependent-picklist-issue-in-crm-2011.html


    ms crm

    Tuesday, March 19, 2013 8:07 AM
  • Hi,

    Use this in you JavaScript:

    Xrm.Page.getControl('field name').removeOption(value);


    If the answer helped you, remember to mark it as answer.

    Tuesday, March 19, 2013 8:28 AM
    Moderator
  • Hi,

    Refer the links:

    http://blog.sonomapartners.com/2011/06/simple-javascript-to-create-dynamic-cascading-picklists-in-microsoft-crm-2011.html

    http://community.dynamics.com/crm/b/sonomapartners/archive/2011/06/16/how-to-use-javascript-to-create-dynamic-cascading-picklists-in-microsoft-crm-2011.aspx#.UUmB2Rw9GHg


    Naren


    • Edited by Naren MN Wednesday, March 20, 2013 9:29 AM
    Wednesday, March 20, 2013 9:28 AM