<?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>checkbox and radiobutton</title><link>https://community.appian.com/discussions/f/new-to-appian/24615/checkbox-and-radiobutton</link><description>Hi, 
 in the interface we used checkbox to select multiple, now bcz of some reasons user wants to select one item at a time so am thinking to go with radiobutton 
 is that right way or do we have any other options? 
 and even i have checked with radio</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95548?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 10:32:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dae99d74-8069-4ad2-921e-4cf153fa8ac0</guid><dc:creator>chandhinir0002</dc:creator><description>&lt;p&gt;can you check whether choicevalue and value is of same datatype?&lt;br /&gt;&lt;br /&gt;If your choiceValue is of type string {&amp;quot;1&amp;quot;}, then value should be also string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95458?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 08:53:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40bb0f81-0825-4b9b-834a-76b9810b9f65</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;yes I am using equal number of choice lables and values&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95454?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 08:10:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:edb5fde9-1ec7-4f60-b2ec-b6db114573c2</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;I have given the choice lable same as choice values,still showing the same error.&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1653466226535v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95182?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 12:14:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97124b6f-d754-423e-a745-a2f32b4ddf5c</guid><dc:creator>Arul</dc:creator><description>&lt;p&gt;&lt;span&gt;The choiceLabels and choiceValues arrays must be the same length&lt;/span&gt;. else it won&amp;#39;t work. Just try&amp;nbsp;to use&amp;nbsp;toggle button&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95178?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 12:06:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3fdfb1f3-5e9c-4915-9a55-89b46ef53e5d</guid><dc:creator>Shubham Kumar</dc:creator><description>&lt;p&gt;Hi Kavya,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please see the below screenshot for your reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;choiceLabels: {&amp;quot;Male&amp;quot;, &amp;quot;Female&amp;quot;},&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; choiceValues: {1, 2},&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1652789065608v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;choiceLabels: {&amp;quot;Male&amp;quot;, &amp;quot;Female&amp;quot;},&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; choiceValues: {&amp;quot;Male&amp;quot;, &amp;quot;Female&amp;quot;},&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1652789129376v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95176?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 11:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7de1f9ed-b6f6-43a2-9792-e86ed61245f9</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;will not show any values to end user from choiclabels.. whenever we select radio button then the value as 1 will be saved to db&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95175?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 11:15:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e71085e-57db-4135-b40e-a4b68bd83755</guid><dc:creator>Shubham Kumar</dc:creator><description>&lt;p&gt;Hi Kavya,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Make sure, your ChoiceValues and ChoiceLabels have same number of values. It can be same also.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ChoiceLabels:&lt;/strong&gt; This value is used to show to the end user.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ChoiceValues:&lt;/strong&gt; This value is used to save the value to the database table.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example of&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;Gender:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ChoiceLabels: {&amp;quot;Male&amp;quot;, &amp;quot;Female&amp;quot;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ChoiceValues: {1,2} or&amp;nbsp;{&amp;quot;Male&amp;quot;, &amp;quot;Female&amp;quot;}&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95168?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 08:13:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40ddbf3e-4656-4466-a36e-385f87df59c4</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;why do you have choice labels as null?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95165?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 07:50:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66945845-bbbf-4e8e-b0bd-b5fcacd81ffe</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;this is how i have made the changes.. just i have changed check box to radio button&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1652773871597v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: checkbox and radiobutton</title><link>https://community.appian.com/thread/95161?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 07:03:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7255f84-41fd-4ee2-a87c-f867444537e9</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi Kavya, choosing between checkbox and radio button depends on your UI preference and what kind of options you want to provide to end users. and for the error , looks like the value of the radio button is not available in the choice values array. make sure value parameter of the radioButton must available in choiceValues array.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>