Same View Multiple Actions - InfoPath Dev
in

InfoPath Dev

Same View Multiple Actions

Last post 04-24-2012 10:02 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-24-2012 05:32 AM

    Same View Multiple Actions

    I have an InfoPath Form which has buttons across the top.  When the user clicks on a button the form swtiches views to the View corresponding to the button.  The customer however wants separate buttons for one particular view, lets say ViewA, there may be 1, 2, or 3 buttons depending on another field on the form.

     So, for example, if there are 2 buttons at the top for ViewA, the customer wants to click on Button1 and get a view of the information for the first entry of ViewA.  Then when the customer clicks on the Button2, it will create a second instance of ViewA fields that pertain only to Button2.  There is a field let's say FieldA that denotes which instance the customer is on.

    I have tried many approaches to get this to work, all to no avail.  Does anyone know of a way to do this?  Basically, I am operating on the same view with 2 different buttons, each pertaining to their own node in the XML.

  • 04-24-2012 10:02 AM In reply to

    Re: Same View Multiple Actions

    Perhaps you can create some logic in your views so that you can show/hide certain sections based on what button was pressed.  As long as you have a way to keep track of what view you are on and what button you pressed (I would use some temp variables) then you can create some logic (ie. Rules) that will show/hide sections using these fields.  Otherwise, if you want to keep things simple you can just create different views for each case.  Good luck!

    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.