2 Replies Latest reply: Sep 24, 2015 2:45 PM by Ruoxi Li Branched from an earlier discussion. RSS

    Alternate States: Selections transferring unexpectedly

      Hi Josh,


      thanks for your example, very helpful when using different states. I have a similar case, but a little bit different. The problem I run into is in the "current selection" box.


      All my 6 tables are in only 1 state (eg. state1), and I select values from the 6 tables, then pass the values into another state (eg. state2). the problem is that once I made any selection in any of the 6 tables, then after clikc the "button", what happened in "current selection" of the state2 is , everything will be displace even though I didn't select from that list box. For example, one of the 6 list box is Gender with value are (male, female). Even though I didn't select anything on that list box (selected from other list boxes), after the click the bottun, both "male" and "female" were shown in the "current selection" of State2. Did you run into this kind of problem? thanks in advance! 

        • Re: Alternate States: Selections transferring unexpectedly
          Josh Good

          Hi Ruoxi,


          I branched your questions because it is not directly related my other post.


          It is tough to give you a definitive answer without seeing the app but I'd guess that you have actions setup that transfer the values from one state to another.  Depending how you are getting the values to transfer.  For example if you are using the 'concatenate' function to do this then you will transfer all members in that field that are available (i.e. everything in green AND white).  Therefore if you have not selections you will transfer all members of the field.  If you only want fields that have actually been selected (i.e. fields in green) then you can use the getfieldselections function.


          I hope this help.





          Please mark this post has correct or helpful if applicable so other member can find answers more easily.