<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding fields to an alternate state listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708650#M1061497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i got it work. The concatenated&amp;nbsp; pipe delimitted list of possible values is created in a variable which evaluates in the default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i use a 'select in field' action in state 'A' to apply the variable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to ensure the variable formula has '=' so it calculates in the default state first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached and validate it works as you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 20:01:53 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-26T20:01:53Z</dc:date>
    <item>
      <title>Adding fields to an alternate state listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708649#M1061496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a simple need to implement a feature where a user can&amp;nbsp; add all "possible" or "selected" fields from an inherited state list box into an inherited list box. The attached app should work like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear Group A button: clear all selections in the Group A list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add to Group A button:&amp;nbsp; Add all 'selected' or 'possible' values from color list box to the Group A list box. So for example if user selects 'high' from the color_popularity list, then blue and red values should be added to the Group A list box. If user selects orange from the color list box, then orange should be added to the Group A list box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 19:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708649#M1061496</guid>
      <dc:creator />
      <dc:date>2014-09-26T19:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to an alternate state listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708650#M1061497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i got it work. The concatenated&amp;nbsp; pipe delimitted list of possible values is created in a variable which evaluates in the default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i use a 'select in field' action in state 'A' to apply the variable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to ensure the variable formula has '=' so it calculates in the default state first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached and validate it works as you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 20:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708650#M1061497</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-26T20:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to an alternate state listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708651#M1061498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your solution. This solution is almost there. I should've been more precise and called it "Append to Group A" instead of "Add to Group A". I need to append any subsequent selections from color list to Group A list. So something like this in the search string of the "Add to Group A" button action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='$(vCopy)' &amp;amp; '|' &amp;amp; GetFieldSelections(color), which obviously is not the right syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what did you mean by your note about the '=' sign. Isn't this part of the syntax? How does it relate to the state?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;I figured out the solution. Instead of "Select in Field" you need to use "Toggle Select" for the button action. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 21:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-an-alternate-state-listbox/m-p/708651#M1061498</guid>
      <dc:creator />
      <dc:date>2014-09-26T21:21:47Z</dc:date>
    </item>
  </channel>
</rss>

