<?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>using disabled field populated with date time in &amp;quot;input box&amp;quot; but not inserted into DB</title><link>https://community.appian.com/discussions/f/general/20059/using-disabled-field-populated-with-date-time-in-input-box-but-not-inserted-into-db</link><description>Hi All, 
 In my interface i have a date time field text box which will be populated with the current date time value and field will be disabled. 
 When I am trying to submit the page above field is not getting persisted into the DB, in DB column data</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: using disabled field populated with date time in "input box" but not inserted into DB</title><link>https://community.appian.com/thread/78419?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 16:15:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:951dbc3c-c2bb-4d3e-bb05-875f65d2ba4e</guid><dc:creator>Deepak Shinde</dc:creator><description>&lt;p&gt;Thanks, great it worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using disabled field populated with date time in "input box" but not inserted into DB</title><link>https://community.appian.com/thread/78415?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 16:02:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c609b88-3703-4efb-9cfa-a7649ce0055a</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Our most common setup to save data into a field that is not interacted with on the form is via button press - when the user submits the form, at this time you can update any data as needed via the button&amp;#39;s saveInto parameter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!buttonWidget(
  label: &amp;quot;Submit&amp;quot;,
  value: false,
  saveInto: {
    ri!cancel,
    a!save(ri!PTS_TicketTest.assignedDate,now())
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using disabled field populated with date time in "input box" but not inserted into DB</title><link>https://community.appian.com/thread/78411?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 15:36:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:937c97e0-e2bb-45c9-8937-425699daf528</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The saveInto of a field is evaluated when the user interacts with this field. In your case this is ... never. SAIL does not work this way. Please check here or in the documentation for how to set default values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>