<?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>rectangle/button toggle</title><link>https://community.appian.com/discussions/f/user-interface/29158/rectangle-button-toggle</link><description>Hi EveryOne, 
 I am doing poc, My requirment is to show the Toggle, depends on the User selection, it has to display the respective pages 
 
 
 Thanks in Advance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: rectangle/button toggle</title><link>https://community.appian.com/thread/115229?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 03:59:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f32ce2e-ca26-41f0-a48b-f0459f4af15f</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Here is what I came up with (the one on top). Pretty much as close as you can get.&lt;/p&gt;
&lt;p&gt;Here it is compared to all 3 types of cardChoice fields. Think I would just stick with the cardChoice field if I were you.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1688010522007v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!toggle: false,
  {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: a!cardLayout(
            style: &amp;quot;STANDARD&amp;quot;,
            shape: &amp;quot;ROUNDED&amp;quot;,
            showShadow: true,
            showBorder: false,
            contents: {
              a!columnsLayout(
                alignVertical: &amp;quot;MIDDLE&amp;quot;,
                columns: {
                  a!columnLayout(
                    contents: a!cardLayout(
                      style: if(local!toggle, &amp;quot;ACCENT&amp;quot;, &amp;quot;STANDARD&amp;quot;),
                      height: &amp;quot;EXTRA_SHORT&amp;quot;,
                      shape: &amp;quot;ROUNDED&amp;quot;,
                      showBorder: false,
                      contents: {
                        a!richTextDisplayField(
                          align: &amp;quot;CENTER&amp;quot;,
                          value: a!richTextItem(
                            text: &amp;quot;True&amp;quot;,
                            style: &amp;quot;STRONG&amp;quot;,
                            color: if(local!toggle, &amp;quot;ACCENT&amp;quot;, &amp;quot;SECONDARY&amp;quot;),
                            
                          )
                        )
                      },
                      link: a!dynamicLink(
                        saveInto: { a!save(local!toggle, not(local!toggle)) }
                      )
                    )
                  ),
                  a!columnLayout(
                    contents: a!cardLayout(
                      showBorder: false,
                      style: if(not(local!toggle), &amp;quot;ACCENT&amp;quot;, &amp;quot;STANDARD&amp;quot;),
                      height: &amp;quot;EXTRA_SHORT&amp;quot;,
                      shape: &amp;quot;ROUNDED&amp;quot;,
                      contents: {
                        a!richTextDisplayField(
                          align: &amp;quot;CENTER&amp;quot;,
                          value: a!richTextItem(
                            text: &amp;quot;False&amp;quot;,
                            style: &amp;quot;STRONG&amp;quot;,
                            color: if(not(local!toggle), &amp;quot;ACCENT&amp;quot;, &amp;quot;SECONDARY&amp;quot;)
                          )
                        )
                      },
                      link: a!dynamicLink(
                        saveInto: { a!save(local!toggle, not(local!toggle)) }
                      )
                    )
                  )
                }
              )
            },
            height: &amp;quot;AUTO&amp;quot;
          )
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rectangle/button toggle</title><link>https://community.appian.com/thread/115224?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 18:08:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99163e68-e9e1-4ffe-8c87-a62d88ffbcdf</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. What did you try so far?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rectangle/button toggle</title><link>https://community.appian.com/thread/115223?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 17:30:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:669fd6c4-f41a-4dd7-b200-0102d1b1e5a5</guid><dc:creator>manojr2362</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1687973420185v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>