<?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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>View change with choicetype</title><link>https://www.infopathdev.com:443/forums/thread/87439.aspx</link><pubDate>Tue, 26 Feb 2013 18:07:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87439</guid><dc:creator>swesan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=87439</wfw:commentRss><description>I created a software request form with four views. Employee, Approver, Rejected and Thank You. The associated SharePoint list has a column called &amp;#39;State&amp;#39; that has dropdown list text values as &amp;#39;WA&amp;#39;,&amp;#39;DN&amp;#39; for Waiting approval and Done. 
In my infopath designer 

1. On form load created rule -&amp;gt;ShowEmployee and set the condition, if State &amp;#39;is blank&amp;#39; then switch to  Employee view 
2. if State is euqal to &amp;quot;WA&amp;quot; then switch to Approver View.

Added items to the Sharepoint list and set State=WA in one and State=DN in the second.
When I click &amp;#39;Add new item&amp;#39; I get &amp;#39;Employee View&amp;#39; and that is correct.
But, when I click the item with WA/DN they don&amp;#39;t show Approver/ Thank you. 
The item opens in Employee view in all of them.
Any idea on what I missed or why the views aren&amp;#39;t switching as expected?
Appreciate your inputs.</description></item></channel></rss>