<?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>Buttons that toggle state of other buttons</title><link>https://community.appian.com/discussions/f/user-interface/23361/buttons-that-toggle-state-of-other-buttons</link><description>Currently have 3 buttons that show and hide 3 separate sections of code. If I click button 1 I want to disable button 1 and leave button 2 and 3 enabled. If I click button 2 after clicking button 1 I want button 1 to reset and for button 2 to be disabled</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Buttons that toggle state of other buttons</title><link>https://community.appian.com/thread/89744?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 17:30:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fce39b17-65b0-44d9-b068-810f258f0886</guid><dc:creator>oludareo0002</dc:creator><description>&lt;p&gt;Perfect that helped me resolve the code! thank you for clearing things up for me!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttons that toggle state of other buttons</title><link>https://community.appian.com/thread/89741?ContentTypeID=1</link><pubDate>Thu, 13 Jan 2022 17:12:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fc44b90-df36-4ed1-9373-c6232548117d</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;This should help.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!buttonTierOne: false(),
  local!buttonTierTwo: false(),
  local!buttonTierThree: false(),
  local!buttonRest: true(),
  a!formLayout(
    label: &amp;quot;Label&amp;quot;,
    contents: a!sectionLayout(
      contents: {
        a!sectionLayout(
          label: &amp;quot;&amp;quot;,
          contents: {
            a!columnsLayout(
              columns: {
                a!columnLayout(
                  contents: {
                    a!boxLayout(
                      label: &amp;quot;&amp;quot;,
                      contents: {
                        a!richTextDisplayField(
                          labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                          value: {
                            a!richTextItem(
                              text: { &amp;quot;Submit Tier 1 &amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            ),
                            char(10),
                            a!richTextItem(
                              text: { &amp;quot;Service Output Form&amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        ),
                        a!buttonArrayLayout(
                          buttons: {
                            a!buttonWidget(
                              label: &amp;quot;Start&amp;quot;,
                              icon: &amp;quot;file-text-o&amp;quot;,
                              value: true(),
                              saveInto: {
                                local!buttonTierOne,
                                a!save(local!buttonRest, false())
                              },
                              submit: false(),
                              disabled: if(local!buttonTierOne, true, false),
                              style: &amp;quot;PRIMARY&amp;quot;,
                              validate: true()
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        )
                      },
                      style: &amp;quot;ACCENT&amp;quot;,
                      marginBelow: &amp;quot;STANDARD&amp;quot;
                    )
                  }
                ),
                a!columnLayout(
                  contents: {
                    a!boxLayout(
                      label: &amp;quot;&amp;quot;,
                      contents: {
                        a!richTextDisplayField(
                          labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                          value: {
                            a!richTextItem(
                              text: { &amp;quot;Submit Tier 2 &amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            ),
                            char(10),
                            a!richTextItem(
                              text: { &amp;quot;Additional Request Form&amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        ),
                        a!buttonArrayLayout(
                          buttons: {
                            a!buttonWidget(
                              label: &amp;quot;Start&amp;quot;,
                              icon: &amp;quot;file-text-o&amp;quot;,
                              value: true(),
                              saveInto: {
                                local!buttonTierTwo,
                                a!save(
                                  local!buttonTierOne,
                                  false
                                )
                              },
                              submit: false(),
                              style: &amp;quot;PRIMARY&amp;quot;,
                              validate: true(),
                              disabled: local!buttonTierTwo
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        )
                      },
                      style: &amp;quot;ACCENT&amp;quot;,
                      marginBelow: &amp;quot;STANDARD&amp;quot;
                    )
                  }
                ),
                a!columnLayout(
                  contents: {
                    a!boxLayout(
                      label: &amp;quot;&amp;quot;,
                      contents: {
                        a!richTextDisplayField(
                          labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                          value: {
                            a!richTextItem(
                              text: { &amp;quot;Submit Tier 3&amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            ),
                            char(10),
                            a!richTextItem(
                              text: { &amp;quot;Service output Form&amp;quot; },
                              size: &amp;quot;MEDIUM_PLUS&amp;quot;
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        ),
                        a!buttonArrayLayout(
                          buttons: {
                            a!buttonWidget(
                              label: &amp;quot;Start&amp;quot;,
                              icon: &amp;quot;file-text-o&amp;quot;,
                              value: true(),
                              saveInto: {
                                local!buttonTierThree,
                                a!save(
                                  {
                                    local!buttonTierOne,
                                    local!buttonTierTwo
                                  },
                                  false
                                )
                              },
                              submit: false(),
                              style: &amp;quot;PRIMARY&amp;quot;,
                              validate: true(),
                              disabled: local!buttonTierThree
                            )
                          },
                          align: &amp;quot;CENTER&amp;quot;
                        )
                      },
                      style: &amp;quot;ACCENT&amp;quot;,
                      marginBelow: &amp;quot;STANDARD&amp;quot;
                    )
                  }
                )
              }
            )
          },
          divider: &amp;quot;BELOW&amp;quot;,
          dividerWeight: &amp;quot;MEDIUM&amp;quot;
        )
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>