<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re-Run validations on IfoPath form opened from SharePoint Library</title><link>https://www.infopathdev.com:443/forums/thread/67446.aspx</link><pubDate>Fri, 17 Jun 2011 05:06:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67446</guid><dc:creator>saudak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67446</wfw:commentRss><description>&lt;p&gt;I have a fairly simple infopath form&lt;/p&gt;&lt;p&gt;
2 textboxes
field1 has username() function (it shows the current user using the username function)
&lt;/p&gt;&lt;p&gt;field2 checks the field1 and enables or disables it depending on the username
field2 has formatting rule (InfoPath 2010) if field1 not equal to &amp;quot;system&amp;quot; then disable control&lt;/p&gt;&lt;p&gt;
I Submit to the form library &amp;amp; publish this form (web enabled)
It works fine
&lt;/p&gt;&lt;p&gt;I login using any user (any other user), then the field2 is disabled (ok)
Now, when I submit its fine.&lt;/p&gt;&lt;p&gt;
Then when I login as &amp;#39;system&amp;#39; and open the form I submitted I was expecting &lt;b&gt;field2 to be enabled!&lt;/b&gt;
&lt;b&gt;but its not&lt;/b&gt;
 
&lt;/p&gt;&lt;p&gt;I have an Idea as to what might be happening:
The value in filed1 is not changed when I open an existing form from the library&lt;/p&gt;&lt;p&gt;How can I enable calculations or validations when a form is opened from a library? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;
 
Please Help&lt;/p&gt;</description></item></channel></rss>