<?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>How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/discussions/f/rules/6801/how-to-i-limit-a-checkbox-field-to-one-choice-i-am-using-a-checkbox-field-to-ca</link><description>How to I limit a checkbox field to one choice? I am using a checkbox field to capture a &amp;#39;Y&amp;#39; or &amp;#39;N&amp;#39; value. This works just fine unless the user checks both boxes. I tried a couple validation rules on the field but none have worked so far. Any suggestions</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/thread/26937?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 01:58:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2041de2d-ecb7-4f55-a519-e5c2097ce298</guid><dc:creator>judym598</dc:creator><description>Luke - I went with the radio button but I plan on checking out what you suggested. Thanks for the help!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/thread/26936?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 01:33:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e53b086-9f60-4aa6-a5fd-2769c80bffe0</guid><dc:creator>Luke Schurman</dc:creator><description>load(&lt;br /&gt;  local!checkboxValue,&lt;br /&gt;  local!checkboxSave,&lt;br /&gt;a!dashboardLayout(&lt;br /&gt;  firstColumnContents: {&lt;br /&gt;    a!checkboxField(&lt;br /&gt;  label: &amp;quot;Certification Required?&amp;quot;,&lt;br /&gt;  labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt;  choicelabels: {&lt;br /&gt;    &amp;quot;Yes&amp;quot;,&lt;br /&gt;    &amp;quot;No&amp;quot;&lt;br /&gt;  },&lt;br /&gt;  choiceValues: {&lt;br /&gt;    &amp;quot;Y&amp;quot;,&lt;br /&gt;    &amp;quot;N&amp;quot;&lt;br /&gt;  },&lt;br /&gt;  value: local!checkboxValue,&lt;br /&gt;  saveInto: {&lt;br /&gt;    a!save(target: local!checkboxValue,&lt;br /&gt;    value: if(and(not(rule!APN_isBlank(save!value)), length(save!value)=2),&lt;br /&gt;    local!checkboxValue, save!value&lt;br /&gt;    )),&lt;br /&gt;    a!save(local!checkboxSave,&lt;br /&gt;    local!checkboxValue&lt;br /&gt;    )&lt;br /&gt;    &lt;br /&gt;    }&lt;br /&gt;    ),&lt;br /&gt;    a!textField(&lt;br /&gt;      label: &amp;quot;Display value: user will have to click away to see second selection disappear&amp;quot;,&lt;br /&gt;      value: local!checkboxValue,&lt;br /&gt;      readOnly: true&lt;br /&gt;    ),&lt;br /&gt;    a!textField(&lt;br /&gt;      label: &amp;quot;Saved Value&amp;quot;,&lt;br /&gt;      value: local!checkboxSave,&lt;br /&gt;      readOnly: true&lt;br /&gt;    )&lt;br /&gt;    &lt;br /&gt;    })&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;this may be useful&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/thread/26934?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 01:18:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc049c69-ac74-4394-b078-b10b95e92c3b</guid><dc:creator>judym598</dc:creator><description>I like the look of the checkbox and I thought I could figure out a way to use a validation rule to check for multiple selections, but maybe it&amp;#39;s not worth the effort - using a radio button may be easier.  Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/thread/26933?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 01:12:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82bc49b2-1458-4151-987f-f6417da52a4e</guid><dc:creator>Tyler Criste</dc:creator><description>Is it important that it be a checkboxfield? I typically use a radio button for yes/no fields.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to I limit a checkbox field to one choice? I am using a checkbox field to ca</title><link>https://community.appian.com/thread/26932?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 01:11:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dbc7550-6856-4651-b252-a4dd6295d78e</guid><dc:creator>aviroop</dc:creator><description>Try to use Radio button a!radioButtonField() when the choice is Yes or No.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>