Disabled fileds are not getting updated back in CRM 2011

Proposed Answer Disabled fileds are not getting updated back in CRM 2011

  • mercoledì 11 aprile 2012 12:44
     
     

    Hi

    When we change the value of a disabled field via Jscript, those changed values were not getting saved when i am trying to save the form data with updated values.

    Is there any supported way to save the data from those disabled fileds.

    Thank you,

    Babu

Tutte le risposte

  • mercoledì 11 aprile 2012 12:49
    Postatore
     
     Risposta suggerita Contiene codice

    Hi Babu,

    You need to set the submit mode to 'always':

    Xrm.Page.getAttribute(attributeName).setSubmitMode('always')

    hth,

    Scott


    Scott Durow
    Read my blog: www.develop1.net/public
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

  • lunedì 16 aprile 2012 04:44
     
     

    Scott,

    Thank you for sharing information. It is working fine in my application.

    Thank you,

    Babu