<?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>radio button</title><link>https://community.appian.com/discussions/f/general/25557/radio-button</link><description>Hi 
 
 am getting this error for this code</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: radio button</title><link>https://community.appian.com/thread/99728?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 12:47:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b25dbdc-7773-4645-8b63-f8e0832f8f46</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Also: if the constant is properly defined as &amp;quot;array of integer&amp;quot; type, there is no need to use &amp;quot;toInteger()&amp;quot; or any other transformation on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: radio button</title><link>https://community.appian.com/thread/99720?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 12:25:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08483b50-1041-4d16-8ec0-4be781d0e6c8</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Add toInteger() instead of toUniformstring().&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!radioButtonField(
  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
  choiceLayout: &amp;quot;COMPACT&amp;quot;,
  disabled: ri!isReadOnly_bool,
  choiceLabels: cons!CR_APP_TXT_CHOICE_LABELS_YES_NO,
  choiceValues: tointeger(
    cons!CR_APP_INT_CHOICE_VALUES
  ),
  value: fv!item.overrideFlag_int,
  saveInto: {
    fv!item.overrideFlag_int,
    if(
      isnull(
        fv!item.id_int
      ),
      {},
      {
        a!save(
          fv!item.updatedBy_txt,
          loggedInUser()
        ),
        a!save(
          fv!item.updatedOn_dt,
          now()
        ),
        a!save(
          fv!item.updatedByRole_txt,
          rule!CR_FN_getUserRole(
            inputUser_txt: loggedInUser()
          )
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: radio button</title><link>https://community.appian.com/thread/99719?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 12:24:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8ef24567-c421-4013-a688-05d040700075</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You&amp;#39;re passing in an &lt;strong&gt;integer&lt;/strong&gt; for &amp;quot;value&amp;quot;, but for some reason, you&amp;#39;re converting your &lt;em&gt;choiceValues&lt;/em&gt; array to &lt;strong&gt;string&lt;/strong&gt;.&amp;nbsp; Is there any particular reason you&amp;#39;re using &amp;quot;toUniformString()&amp;quot; there?&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1660825519608v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>