<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Newbie Question: What are Changing, Validating, Changed events?</title><link>https://www.infopathdev.com:443/forums/thread/68526.aspx</link><pubDate>Tue, 19 Jul 2011 00:37:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68526</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68526</wfw:commentRss><description>&lt;p&gt;From &lt;a href="http://msdn.microsoft.com/en-us/library/aa973692(v=Office.11).aspx"&gt;MSDN&lt;/a&gt;:&lt;/p&gt;
&lt;table class="memberListTable" class="memberListTable"&gt;

&lt;tr&gt;
&lt;td class="imageCell" class="imageCell"&gt;&lt;img id="pubevent" class="cl_IC90369" title="Public event" alt="Public event" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" /&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="MARGIN-RIGHT:0px;" dir="ltr"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlevent.changed(v=Office.11).aspx"&gt;&lt;font color="#1364c4"&gt;Changed&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Occurs after changes to a form&amp;#39;s underlying XML document have been accepted and after the &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlevent.validating(v=Office.11).aspx"&gt;&lt;font color="#1364c4"&gt;Validating&lt;/font&gt;&lt;/a&gt; event has occurred.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="imageCell" class="imageCell"&gt;
&lt;p style="MARGIN-RIGHT:0px;" dir="ltr"&gt;&lt;img id="pubevent" class="cl_IC90369" title="Public event" alt="Public event" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" /&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="MARGIN-RIGHT:0px;" dir="ltr"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlevent.changing(v=Office.11).aspx"&gt;&lt;font color="#1364c4"&gt;Changing&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Occurs after changes to a form&amp;#39;s underlying XML document have been made but before the changes have been accepted.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="imageCell" class="imageCell"&gt;
&lt;p style="MARGIN-RIGHT:0px;" dir="ltr"&gt;&lt;img id="pubevent" class="cl_IC90369" title="Public event" alt="Public event" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" /&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p style="MARGIN-RIGHT:0px;" dir="ltr"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlevent.validating(v=Office.11).aspx"&gt;&lt;font color="#1364c4"&gt;Validating&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;Occurs after changes to a form&amp;#39;s underlying XML document have been accepted but before the &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlevent.changed(v=Office.11).aspx"&gt;&lt;font color="#1364c4"&gt;Changed&lt;/font&gt;&lt;/a&gt; event has occurred.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;Changed is the event I most often use - it fires when the field&amp;#39;s value has been accepted &amp;amp; after the Validating event has occured (thus, it fires last). Also worth noting, it is the only event that fires when the DOM is not read only. So, if your code is going to change a value in your XML, it needs to be on the Changed event.. If you follow the links to the individual events:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;During the &lt;strong&gt;Changing&lt;/strong&gt; event, the form&amp;#39;s underlying XML document is placed in read-only mode.&lt;br /&gt;During the &lt;strong&gt;Validate&lt;/strong&gt; event, the form&amp;#39;s underlying XML document is placed in read-only mode.&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Newbie Question: What are Changing, Validating, Changed events?</title><link>https://www.infopathdev.com:443/forums/thread/68523.aspx</link><pubDate>Tue, 19 Jul 2011 00:13:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68523</guid><dc:creator>Derek Megyesi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68523</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Can someone please explain the 3 different types of programming events.&amp;nbsp;When I right-click on a text-box,&amp;nbsp;and select &amp;quot;Programming&amp;quot;, I see:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1) Changing Event...&lt;/p&gt;
&lt;p&gt;2) Validating Event...&lt;/p&gt;
&lt;p&gt;3) Changed Event...&lt;/p&gt;
&lt;p&gt;What do these mean?&lt;/p&gt;
&lt;p&gt;HELP!&lt;/p&gt;
&lt;p&gt;Derek&lt;/p&gt;
&lt;p&gt;derek.megyesi at hotmail dot com&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>