<?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>disabled radio buton</title><link>https://community.appian.com/discussions/f/administration/23611/disabled-radio-buton</link><description>ihave one radio button in editable grid so when i select one option it should be disabled how can i do it</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/92530?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 08:47:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:164bc34f-f36b-4588-b2d3-4a53f5d10897</guid><dc:creator>santhoshp0005</dc:creator><description>&lt;p&gt;ok thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/92525?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 08:17:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38b07fce-c81d-4f12-9dfb-c0c4b3638e79</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;You could have different radio-button components with different showWhen conditions that would include/exclude the specific radio-button&amp;nbsp;option in question. Or it may be more appropriate to choose a different input component e.g. a dropdown, where you could include/exclude an option depending on some condition.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/92523?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 05:06:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a9e7d81-67fe-4307-9eff-517cb0b86ba1</guid><dc:creator>santhoshp0005</dc:creator><description>&lt;p&gt;thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/92518?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 20:02:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5992f43e-871a-4394-abb7-9afde0ac188e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Individual options cannot be disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/92517?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 19:30:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:224fc944-f2af-450f-a699-1fedc4a26600</guid><dc:creator>walkers</dc:creator><description>&lt;p&gt;A tack on question here, is there a way to disable a single option for a radio button field?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/90542?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 14:21:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0265d800-4af8-4eba-b958-4f6885860bbf</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Typically you disable input controls based upon the values selected in &lt;strong&gt;other&lt;/strong&gt; input controls e.g., you have a radio button where you can select &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; and if you select, say, &amp;quot;No&amp;quot; then a logically related input text field is then disabled (although I&amp;#39;d recommend showing/hiding rather than disabling)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/90537?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 14:01:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79503d9a-ed38-4754-9e22-c0ab47eccc11</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah I think we need a lot more informaiton. Disabling the radio button when selecting an option frankly seems like a frustrating experience for the user to me. What if they select the option by accident? Now they can&amp;#39;t change it back to something else?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/90533?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 13:49:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d2aa85d-1710-4e47-85a7-e2e408097017</guid><dc:creator>agam</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/santhoshp0005"&gt;santhoshp0005&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;You could use the disable property of a component to disable it and code it according to your selected value.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a eg code snippet. It disables a text field when the radio button has a specific value (3 here)&lt;/p&gt;
&lt;p&gt;You can use the local&amp;nbsp;disableSelection variable to disable the radiobutton too / any other components similarly&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridLayout(
  headerCells: {
    a!gridLayoutHeaderCell(label: &amp;quot;Radio Button&amp;quot;),
    a!gridLayoutHeaderCell(label: &amp;quot;Data&amp;quot;)
  },
  rows: a!gridRowLayout(
    contents: {
      a!localVariables(
        local!radioButton: null,
        local!disableSelection: false(),
        local!textbox,
        {
          a!radioButtonField(
            choiceLabels: { &amp;quot;One&amp;quot;, &amp;quot;Two&amp;quot;, &amp;quot;Three&amp;quot; },
            choiceValues: { 1, 2, 3 },
            value: local!radioButton,
            saveInto: {
              local!radioButton,
              /*Disable selection of Text field when value is 3*/
              a!save(local!disableSelection, save!value = 3)
            }
          ),
          a!textField(
            value: local!textbox,
            saveInto: local!textbox,
            disabled: local!disableSelection
          )
        }
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disabled radio buton</title><link>https://community.appian.com/thread/90529?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 13:44:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f22ff900-b298-4b31-9d3e-c944b183a005</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You want to disable the whole radio button component when a specific item is selected?&lt;/p&gt;
&lt;p&gt;Interesting requirement. Can you elaborate? What did you try? Code snippet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>