<?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: How to write a formula so that when the drop-down list is selected on the Infopath form and the next button is clicked the view launches</title><link>https://www.infopathdev.com:443/forums/thread/73175.aspx</link><pubDate>Wed, 21 Dec 2011 19:13:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73175</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73175</wfw:commentRss><description>Yes you absolutely can!&amp;nbsp; For the button you need to open the rules manager (if using 2010) and create a new Action rule.&amp;nbsp; For this rule, set a condition that says something like if optionField = SL Office.&amp;nbsp; Then for your action, change the view to View1.&amp;nbsp; Then create another action rule on the same button, but this time your condition will look something like if optionField = PC Office.&amp;nbsp; Your action on this rule will change the view to View2.</description></item><item><title>How to write a formula so that when the drop-down list is selected on the Infopath form and the next button is clicked the view launches</title><link>https://www.infopathdev.com:443/forums/thread/73173.aspx</link><pubDate>Wed, 21 Dec 2011 18:47:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73173</guid><dc:creator>csaha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73173</wfw:commentRss><description>&lt;p&gt;I have a page where the user will select option1 or
 option 2 and when the user select option 1 and clicks on the next 
button it should launch iew1 that is related to that button. For example drop down list SL Office 
will launch view1 when clicked on the button. What rule/formula can I 
add on that button so that it will launch view1 when dropdown list SL 
office is chosen likewise when the user chooses
 PC Office it will launch View2 when the button is clicked on the same 
form.&lt;/p&gt;&lt;div class="body"&gt;
&lt;/div&gt;</description></item></channel></rss>