DeleteOption on PickList does not work with UR12 RRS feed

  • Question

  • function AccountHideCustomerTypeCode() { var Picklist=crmForm.all.customertypecode Picklist.DeleteOption(1); //Competitor Picklist.DeleteOption(2); //Consultant Picklist.DeleteOption(3); //Customer Picklist.DeleteOption(4); //Investor Picklist.DeleteOption(5); //Partner Picklist.DeleteOption(6); //Influencer Picklist.DeleteOption(7); //Press Picklist.DeleteOption(8); //Prospect Picklist.DeleteOption(9); //Reseller Picklist.DeleteOption(10); //Supplier Picklist.DeleteOption(11); //Vendor Picklist.DeleteOption(12); //Other }

    JavaScript "DeleteOption" on PickList does not work with UR12. What method should be used instead?

    Monday, February 4, 2013 3:33 PM


  • Hi,

    Try use the new javascript object model for CRM 2011, like this:

    Hope this helps.
    If i answered your question, please mark the response as an answer and also vote as helpful.

    Pedro Azevedo Crm Specialist 4.0\2011

    Monday, February 4, 2013 4:02 PM