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 - InfoPath Dev
in

InfoPath Dev

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

Last post 12-21-2011 11:13 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-21-2011 10:47 AM

    • csaha
    • Not Ranked
    • Joined on 12-13-2011
    • Posts 22

    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

    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.

    Filed under:
  • 12-21-2011 11:13 AM In reply to

    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

    Yes you absolutely can!  For the button you need to open the rules manager (if using 2010) and create a new Action rule.  For this rule, set a condition that says something like if optionField = SL Office.  Then for your action, change the view to View1.  Then create another action rule on the same button, but this time your condition will look something like if optionField = PC Office.  Your action on this rule will change the view to View2.
    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.