<?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>Question on RadioButton fields</title><link>https://community.appian.com/discussions/f/user-interface/7097/question-on-radiobutton-fields</link><description>#userInterface hi, I have a RadioButton Field, and when the user select true or false, I have to save the selection into a field of a CDT variable, which have more than one value. can I use a statement like this in the saveInto property? saveInto: {ri</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Question on RadioButton fields</title><link>https://community.appian.com/thread/28512?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 17:44:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0d37826-e9c7-4b3f-8e11-aea04985aea1</guid><dc:creator>Stefan Helzle</dc:creator><description>For this you create a separate expression function that uses the updateCDT plugin to modify the data to your liking. Then you savenInto expression would look something like this:&lt;br /&gt;&lt;br /&gt;a!save(ri!CDT, apply(rule!YourExpression(value: save!value, cdt:_), ri!CDT) &lt;br /&gt;&lt;br /&gt;I did not test this but it should give you an idea of how to solve it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question on RadioButton fields</title><link>https://community.appian.com/thread/28511?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 17:42:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b3e6182-7ce3-45b8-8625-6b323f485cc8</guid><dc:creator>Josh</dc:creator><description>Try a!save(ri!CDT.required, repeat(length(ri!CDT), save!value))&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question on RadioButton fields</title><link>https://community.appian.com/thread/28507?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 15:49:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9813064c-72ba-4dd0-abe7-e24b04dddba7</guid><dc:creator>francescop389</dc:creator><description>thank for your reply.. but i have to write save!value on EVERY record in my CDT.. if i run a!save(ri!CDT[ri!index].required, save!value) the value will be updated only for ri!index element of the CDT.. the number of record in the CDT is dynamic (it could be 2 or 3 or 10 and so on..) and I need to update every record.. how can i run the a!save statement several times dynamiccaly?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question on RadioButton fields</title><link>https://community.appian.com/thread/28504?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 15:29:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f03b27c6-0626-4cd2-8874-5b2736c980fb</guid><dc:creator>shivakanthr</dc:creator><description>ri!CDT[ri!index].required,save!value should like below&lt;br /&gt;a!save(ri!CDT[ri!index].required,save!value)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question on RadioButton fields</title><link>https://community.appian.com/thread/28503?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 15:28:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:212ddc3b-1505-4d36-920d-a8f27749a4ef</guid><dc:creator>shivakanthr</dc:creator><description>Use this&lt;br /&gt;saveInto:{ri!choose,&lt;br /&gt;ri!CDT[ri!index].required,save!value&lt;br /&gt;}&lt;br /&gt;where ri!CDT is your CDT where you store true/false,&lt;br /&gt;ri!index is position in which you want to store like 1 or 2 or etc..&lt;br /&gt;save!value is the value you select in radio button&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>