<?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: Triggers help - When i select a field, one more field should also get selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842943#M1015069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set an OnSelect trigger on [Field A]. Go to Settings -&amp;gt; Document Properties -&amp;gt; Triggers (tab). Under the Field Events header, find [Field A]in the list and then click the Add Actions button under OnSelect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;The parameters sho&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;uld be:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Action type&lt;/STRONG&gt;: Select in Field&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;: [Field B]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Search Strin&lt;/STRONG&gt;g: the value that should be auto selected in Field B. If it's exactly what is selected in Field A, you could use:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;getFieldSelections([Field A])&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Field A is not in the default state, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;'(' &amp;amp; concat({State-Name} distinct [Field A], '|') &amp;amp; ')'&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alternate State:&lt;/STRONG&gt; Choose the state where you want the selections to be made in Field B. Leave blank if you are using the default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 19:56:24 GMT</pubDate>
    <dc:creator>bdiamante</dc:creator>
    <dc:date>2015-04-15T19:56:24Z</dc:date>
    <item>
      <title>Triggers help - When i select a field, one more field should also get selected</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842941#M1015067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a condition when ever we select a field it should also select 1 other field. I dont know how to put it. Suppose if we have 2 fields 'A' and 'B'. When ever I select something from 'A', value in field 'B' should also get selected by default. Its like clicking once and selecting 2 different fields. I know that I have to use triggers to achieve this, but I couldn't get it done.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842941#M1015067</guid>
      <dc:creator />
      <dc:date>2015-04-15T19:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers help - When i select a field, one more field should also get selected</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842942#M1015068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the basis for the selection? Will A and B have the same exact values?? It would be ideal if you can pull together a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842942#M1015068</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-15T19:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers help - When i select a field, one more field should also get selected</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842943#M1015069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set an OnSelect trigger on [Field A]. Go to Settings -&amp;gt; Document Properties -&amp;gt; Triggers (tab). Under the Field Events header, find [Field A]in the list and then click the Add Actions button under OnSelect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;The parameters sho&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;uld be:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Action type&lt;/STRONG&gt;: Select in Field&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;: [Field B]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Search Strin&lt;/STRONG&gt;g: the value that should be auto selected in Field B. If it's exactly what is selected in Field A, you could use:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;getFieldSelections([Field A])&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Field A is not in the default state, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;'(' &amp;amp; concat({State-Name} distinct [Field A], '|') &amp;amp; ')'&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alternate State:&lt;/STRONG&gt; Choose the state where you want the selections to be made in Field B. Leave blank if you are using the default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842943#M1015069</guid>
      <dc:creator>bdiamante</dc:creator>
      <dc:date>2015-04-15T19:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers help - When i select a field, one more field should also get selected</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842944#M1015070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at rob‌ answer here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/149463"&gt;Re: Forcing selection in listbox according to item selection in other listbox with macro&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 20:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842944#M1015070</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-15T20:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Triggers help - When i select a field, one more field should also get selected</title>
      <link>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842945#M1015071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats it, Massimo. Thats exactly what I was looking for. Thanks you so much and thanks to &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 20:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Triggers-help-When-i-select-a-field-one-more-field-should-also/m-p/842945#M1015071</guid>
      <dc:creator />
      <dc:date>2015-04-15T20:23:21Z</dc:date>
    </item>
  </channel>
</rss>

