<?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: On Form Creation Event Handler?</title><link>https://www.infopathdev.com:443/forums/thread/58271.aspx</link><pubDate>Tue, 24 Aug 2010 10:51:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58271</guid><dc:creator>JoanneWellings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58271</wfw:commentRss><description>&lt;p&gt;This worked brilliantly, thank you. I had to use (&lt;span style="COLOR:blue;"&gt;Me&lt;/span&gt;.[&lt;span style="COLOR:blue;"&gt;New&lt;/span&gt;]) though. &lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: On Form Creation Event Handler?</title><link>https://www.infopathdev.com:443/forums/thread/58270.aspx</link><pubDate>Tue, 24 Aug 2010 10:07:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58270</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58270</wfw:commentRss><description>&lt;p&gt;In IP 2007, you can use &lt;strong&gt;this.New&lt;/strong&gt; in an if statement to only run certain code for new forms.&lt;/p&gt;</description></item><item><title>On Form Creation Event Handler?</title><link>https://www.infopathdev.com:443/forums/thread/58269.aspx</link><pubDate>Tue, 24 Aug 2010 09:02:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58269</guid><dc:creator>JoanneWellings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58269</wfw:commentRss><description>&lt;p&gt;Hi all - &lt;/p&gt;
&lt;p&gt;I need a flag on an event handler which activates when a form is created, to flag that something is happening for the first time. I only want the code to run for one time only when the form is created. Is there some kind of&amp;nbsp;On Creation event handler I can use? I can&amp;#39;t use onLoad as it just reruns the code every time the form is reloaded. I can&amp;#39;t use a flag as the value gets wiped out when it&amp;#39;s declared at the start. I&amp;#39;m probably missing something really obvious here.&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</description></item></channel></rss>