<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Checkbox Selection</title><link>https://community.appian.com/discussions/f/new-to-appian/31018/checkbox-selection</link><description>Hi Everyone, 
 
 I have three fields in interface field A, field B and field C. I need to display the field C values only when the field B is checked. The values in fields are being populated using for each loop. Can anyone please help me on this.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Checkbox Selection</title><link>https://community.appian.com/thread/123543?ContentTypeID=1</link><pubDate>Mon, 01 Jan 2024 12:16:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07e725a3-9030-4d49-99f2-ff81bbd0fbdd</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;I don&amp;#39;t&amp;nbsp; understand the question properly&amp;nbsp; you want to&amp;nbsp; completely hide grid column or just the data part , If it&amp;#39;s data then use if&amp;nbsp; in the &amp;quot;value&amp;quot; param or if it&amp;#39;s column use &amp;quot;Show when&amp;quot;. I wrote a sample code for hiding data in &amp;quot;fieldC&amp;quot; for your reference&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!X: {
    a!map(fieldA: &amp;quot;a&amp;quot;, fieldB: &amp;quot;&amp;quot;, fieldC: &amp;quot;XYZ&amp;quot;),
    a!map(fieldA: &amp;quot;b&amp;quot;, fieldB: &amp;quot;&amp;quot;, fieldC: &amp;quot;ABC&amp;quot;),
    a!map(fieldA: &amp;quot;c&amp;quot;, fieldB: &amp;quot;&amp;quot;, fieldC: &amp;quot;EFG&amp;quot;)
  },
  {
    a!gridLayout(
      label: &amp;quot;Editable Grid&amp;quot;,
      labelPosition: &amp;quot;ABOVE&amp;quot;,
      headerCells: {
        a!gridLayoutHeaderCell(label: &amp;quot;Field A&amp;quot;),
        a!gridLayoutHeaderCell(label: &amp;quot;Field B&amp;quot;),
        a!gridLayoutHeaderCell(label: &amp;quot;Field C&amp;quot;)
      },
      columnConfigs: {
        a!gridLayoutColumnConfig(),
        a!gridLayoutColumnConfig(),
        a!gridLayoutColumnConfig()
      },
      rows: {
        a!forEach(
          items: local!X,
          expression: a!gridRowLayout(
            contents: {
              a!textField(
                value: fv!item.fieldA,
                saveInto: fv!item.fieldA,
                readOnly: true
              ),
              a!checkboxField(
                choiceLabels: {&amp;quot;&amp;quot;},
                choiceValues: {true},
                value: fv!item.fieldB,
                saveInto: fv!item.fieldB,
                
              ),
              a!textField(
                value:if(fv!item.fieldB ,fv!item.fieldC,&amp;quot;&amp;quot;),
                saveInto: fv!item.fieldC,
                readOnly: true,
                
              ),
              
            }
          )
        )
      },
      selectionSaveInto: {},
      validations: {},
      shadeAlternateRows: true
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>