<?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 Setting trigger that locks one field based on selections in another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-trigger-that-locks-one-field-based-on-selections-in/m-p/1696469#M725086</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to write a trigger that will lock one field based on specific values users select in another field. For example, if the user selects value "A" from Field1, the values for Field2 are locked and users are prevented from making selections on Field2. (And if the user selects any value &lt;EM&gt;other&lt;/EM&gt; than A in Field1, Field2 is &lt;EM&gt;not&lt;/EM&gt; locked and users can make selections on Field2).&lt;/P&gt;&lt;P&gt;Here's what I've tried without success:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Document properties&amp;nbsp; --&amp;gt;&amp;nbsp; Fi&lt;/EM&gt;&lt;EM&gt;eld Event Triggers&amp;nbsp; --&amp;gt;&amp;nbsp; OnSelect&amp;nbsp; [for Field1] --&amp;gt;&amp;nbsp; AddAction --&amp;gt;&amp;nbsp; "Selection / Lock Field"&amp;nbsp; --&amp;gt;&amp;nbsp;&lt;/EM&gt;&amp;nbsp;Field --&amp;gt;&amp;nbsp; =if(GetFieldSelections(Field1) = 'A',Field2,)&lt;/P&gt;&lt;P&gt;I've also tried just&amp;nbsp; =if(Field1 ='A',Field2,) but that also doesn't work.&lt;/P&gt;&lt;P&gt;Any advice or suggestions for how to build that trigger would be greatly appreciated. Thank you.&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:44:21 GMT</pubDate>
    <dc:creator>JChamber</dc:creator>
    <dc:date>2024-11-16T18:44:21Z</dc:date>
    <item>
      <title>Setting trigger that locks one field based on selections in another field</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-trigger-that-locks-one-field-based-on-selections-in/m-p/1696469#M725086</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to write a trigger that will lock one field based on specific values users select in another field. For example, if the user selects value "A" from Field1, the values for Field2 are locked and users are prevented from making selections on Field2. (And if the user selects any value &lt;EM&gt;other&lt;/EM&gt; than A in Field1, Field2 is &lt;EM&gt;not&lt;/EM&gt; locked and users can make selections on Field2).&lt;/P&gt;&lt;P&gt;Here's what I've tried without success:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Document properties&amp;nbsp; --&amp;gt;&amp;nbsp; Fi&lt;/EM&gt;&lt;EM&gt;eld Event Triggers&amp;nbsp; --&amp;gt;&amp;nbsp; OnSelect&amp;nbsp; [for Field1] --&amp;gt;&amp;nbsp; AddAction --&amp;gt;&amp;nbsp; "Selection / Lock Field"&amp;nbsp; --&amp;gt;&amp;nbsp;&lt;/EM&gt;&amp;nbsp;Field --&amp;gt;&amp;nbsp; =if(GetFieldSelections(Field1) = 'A',Field2,)&lt;/P&gt;&lt;P&gt;I've also tried just&amp;nbsp; =if(Field1 ='A',Field2,) but that also doesn't work.&lt;/P&gt;&lt;P&gt;Any advice or suggestions for how to build that trigger would be greatly appreciated. Thank you.&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-trigger-that-locks-one-field-based-on-selections-in/m-p/1696469#M725086</guid>
      <dc:creator>JChamber</dc:creator>
      <dc:date>2024-11-16T18:44:21Z</dc:date>
    </item>
  </channel>
</rss>

