Disabled fileds are not getting updated back in CRM 2011
-
Wednesday, April 11, 2012 12:44 PM
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
All Replies
-
Wednesday, April 11, 2012 12:49 PMAnswerer
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"- Proposed As Answer by JLattimerMicrosoft Community Contributor, Moderator Wednesday, April 11, 2012 1:09 PM
-
Monday, April 16, 2012 4:44 AM
Scott,
Thank you for sharing information. It is working fine in my application.
Thank you,
Babu