<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Dynamics CRM 3.0 Client-side Programming: FireOnChange()</title>
	<atom:link href="http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/</link>
	<description>Knowledge found and lost while working with Microsoft CRM</description>
	<pubDate>Tue, 02 Dec 2008 15:50:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: edwardsdna</title>
		<link>http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/#comment-487</link>
		<dc:creator>edwardsdna</dc:creator>
		<pubDate>Wed, 28 Feb 2007 23:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/?p=64#comment-487</guid>
		<description>Hi,

I just used your .FireOnChange(); suggestion and it worked great!  Thank you for the solution.

Donna</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just used your .FireOnChange(); suggestion and it worked great!  Thank you for the solution.</p>
<p>Donna</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert MacLean</title>
		<link>http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/#comment-18</link>
		<dc:creator>Robert MacLean</dc:creator>
		<pubDate>Wed, 08 Mar 2006 20:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/?p=64#comment-18</guid>
		<description>Thanks for the information on ForceSubmit. I noticed in the SDK while looking at it that for disabled it states
&lt;blockquote&gt;The field is displayed as read only to the user; however it can be updated by a script. This field is submitted to the server when it is modified.&lt;/blockquote&gt;
The second part about being submitted is definately not correct :(</description>
		<content:encoded><![CDATA[<p>Thanks for the information on ForceSubmit. I noticed in the SDK while looking at it that for disabled it states</p>
<blockquote><p>The field is displayed as read only to the user; however it can be updated by a script. This field is submitted to the server when it is modified.</p></blockquote>
<p>The second part about being submitted is definately not correct :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/#comment-17</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Tue, 07 Mar 2006 21:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/?p=64#comment-17</guid>
		<description>Robert,

You are correct. Disabled fields do not get written back to the database.

Ryan Farley has a great article on Read Only and Disabled fields:
http://crmdeveloper.com/blog/archive/2006/03/06/17312.aspx

Check that out.

In addition, look at the CRM 3.0 SDK for the following command: .ForceSubmit 

It is supposed to set a flag that will cause it be write back to the database regardless of state.

Mitch</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>You are correct. Disabled fields do not get written back to the database.</p>
<p>Ryan Farley has a great article on Read Only and Disabled fields:<br />
<a href="http://crmdeveloper.com/blog/archive/2006/03/06/17312.aspx" rel="nofollow">http://crmdeveloper.com/blog/archive/2006/03/06/17312.aspx</a></p>
<p>Check that out.</p>
<p>In addition, look at the CRM 3.0 SDK for the following command: .ForceSubmit </p>
<p>It is supposed to set a flag that will cause it be write back to the database regardless of state.</p>
<p>Mitch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert MacLean</title>
		<link>http://blogs.infinite-x.net/2006/03/04/dynamics-crm-30-client-side-programming-fireonchange/#comment-16</link>
		<dc:creator>Robert MacLean</dc:creator>
		<pubDate>Tue, 07 Mar 2006 19:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/?p=64#comment-16</guid>
		<description>&lt;blockquote cite="Mitch Milam"&gt;only issue with that idea was the fact that most of these Fields were not meant to be edited. They would be read-only. &lt;/blockquote&gt;

I had a total, grand total and other fields where the value was worked out based on other fields (very similar to your design). I made the total and grand total read only using the disable option on the form designer. The values would be propergated using javascript and this worked fine.

Interesting the values of the field would be stored correctly in the database and so, on the creation of the item but if you tried changing them later on the values would not be updated in the database even though they were changing successfully with the javascript.

Appeared to me that disabled fields with values in them and null values in the database get written to the database while disabled fields with values in them with non-null values in the database do not get written.</description>
		<content:encoded><![CDATA[<blockquote cite="Mitch Milam"><p>only issue with that idea was the fact that most of these Fields were not meant to be edited. They would be read-only. </p></blockquote>
<p>I had a total, grand total and other fields where the value was worked out based on other fields (very similar to your design). I made the total and grand total read only using the disable option on the form designer. The values would be propergated using javascript and this worked fine.</p>
<p>Interesting the values of the field would be stored correctly in the database and so, on the creation of the item but if you tried changing them later on the values would not be updated in the database even though they were changing successfully with the javascript.</p>
<p>Appeared to me that disabled fields with values in them and null values in the database get written to the database while disabled fields with values in them with non-null values in the database do not get written.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
