<?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>Rules on form template not applying on existing forms</title><link>https://www.infopathdev.com:443/forums/thread/102927.aspx</link><pubDate>Wed, 24 Jun 2015 09:53:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102927</guid><dc:creator>Azijkes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102927</wfw:commentRss><description>I have condition, where I need to switch form to read only view, if field status equals &amp;quot;Approved&amp;quot; or &amp;quot;Rejected&amp;quot;.
I&amp;#39;ve created intermediate variable called &amp;quot;CurrentStatus&amp;quot;, which is taking 1 if status is &amp;quot;Approved&amp;quot; or &amp;quot;Rejected&amp;quot;, else it&amp;#39;s taking 0 (this rule on Status field).
Then on Form Load I&amp;#39;ve put condition:

If CurrentStatus Is Equal to 1
Switch form to Read Only View

It works well if you will create new form, but It won&amp;#39;t work for existing forms, even if you resubmit the form with new status.</description></item></channel></rss>