<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: how to set text box control with a value when a form is opened</title><link>https://www.infopathdev.com:443/forums/thread/23794.aspx</link><pubDate>Thu, 18 Oct 2007 04:25:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23794</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23794.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=23794</wfw:commentRss><description>&lt;p&gt;When in design mode go to Tools on the Menu Bar&lt;/p&gt;
&lt;p&gt;Select Form Options&lt;/p&gt;
&lt;p&gt;Select the Open and Save tab&lt;/p&gt;
&lt;p&gt;Select Rules.&lt;/p&gt;
&lt;p&gt;These Rules will be processed when the form opens and before the default view is displayed. Allowing you to change the view or set variables depending on conditions.&lt;/p&gt;</description></item><item><title>how to set text box control with a value when a form is opened</title><link>https://www.infopathdev.com:443/forums/thread/23792.aspx</link><pubDate>Thu, 18 Oct 2007 02:33:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23792</guid><dc:creator>chudq</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23792.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=23792</wfw:commentRss><description>&lt;p&gt;It is very easy to set a text box with a value by using Rules. However, all these rules are called with change on a control or click on a button. I want to set a text box with a boolean value when the form is opened.&amp;nbsp; Then I&amp;#39;ll use this value to set conditional format for some controls such as visible or enabled. How can this text box&amp;nbsp; value be initialized when the form is opened? Thanks for any help!&lt;/p&gt;&lt;p&gt;&amp;nbsp;By the way, I am using InfoPath 2003.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>