<?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>Value not save in database</title><link>https://community.appian.com/discussions/f/user-interface/30589/value-not-save-in-database</link><description>Hi 
 
 I am using below code but my value is not saved in the database. Please suggest. 
 
 a!paragraphField( label: &amp;quot;operations&amp;quot;, showCharacterCount: true(), value: local!cashNotesval, saveInto: { ri!comments, a!save(local!cashNotesval,ri!comments),</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Value not save in database</title><link>https://community.appian.com/thread/143073?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 10:41:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:272ccd2b-eb77-4357-98a5-58b80e614695</guid><dc:creator>gayatria0439</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Point to remember:&lt;/span&gt;&lt;br /&gt;The data will not be saved because it is a pre-populated value generated using variables based on the dropdown selection. As a result, this value will not be saved into ruleInput. If you wish to save the value of local!cashNotesvals into ruleInput, you should configure this in the submit button&amp;#39;s saveInto property or in other editable or user-interaction fields by using a!save and ensure that a null check is performed. If the value is null, save the auto-populated value from the dropdown; if not, save the manually entered value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Value not save in database</title><link>https://community.appian.com/thread/121598?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 07:52:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8412ce13-a5b5-4580-a666-44386d8cf443</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You store the entered value into three different variables. What is the reason for this?&lt;/p&gt;
&lt;p&gt;Then you can simplify your code a lot:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!paragraphField(
  label: &amp;quot;operations&amp;quot;,
  showCharacterCount: true(),
  value: local!cashNotesval,
  saveInto: {
    ri!comments,
    local!cashNotesval,
    ri!Transaction.comment_txt,
  },
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then, which variable do you update in that drop down and which variable do you store to the database? In that dropdown, you have to make sure to modify the variable that you store to DB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>