<?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 can I save a random number in my data type?</title><link>https://community.appian.com/discussions/f/user-interface/25180/how-can-i-save-a-random-number-in-my-data-type</link><description>Hi, i have a question, well, i have a form where i can add data, but i want to generate a random number in my input, so in my input i put in the display value this &amp;quot;todecimal(text(rand()*(10^6),&amp;quot;000000&amp;quot;))&amp;quot; when i view my db, in the field i only get &amp;#39;null</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can I save a random number in my data type?</title><link>https://community.appian.com/thread/97688?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 17:42:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e17f377-20af-4522-af76-1d5da375360e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In Appian, form fields will only execute their saveInto on a direct user interaction. To write data to your CDT and then later to DB, you can either set default values or add a few a!save() to the saveInto of your submit button.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1657734152929v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>