locked
clear form fields using JavaScript - MS CRM 2011 RRS feed

  • Question

  • Hi All,

    Based on the pick list option selection I want to clear the field values on update, where as create is working fine for me.

    But In case of update I am calling fireonchange for optionset in onload. please suggest me in case update..

    Regards

    Srikanth 

    Wednesday, November 6, 2013 5:59 AM

Answers

All replies

  • Hi,

    I have created a utilities library which contains a clear function also. Have a look at this library to see if it helps you.

    Wednesday, November 6, 2013 7:15 AM
    Moderator
  • Thanks for quick response, I have seen the utility but I didn't find the code which suitable for our rquirement.
    I need to clear the field values(textboxes and lookup) on selection of picklist in update. for create it is working fine. onload of the form calling fireonchange of the picklist..

    Any help greatly appriciate..........

    Wednesday, November 6, 2013 8:21 AM
  • Could you share your code for inquiry here

    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Wednesday, November 6, 2013 8:37 AM
    Moderator