<?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>Duplicated and wrong data saving when using dynamic input</title><link>https://community.appian.com/discussions/f/user-interface/30254/duplicated-and-wrong-data-saving-when-using-dynamic-input</link><description>Hello, 
 I have a problem on my form interface that I can&amp;#39;t figure out, I have a dynamic input that can add more paragraph fields if needed but when the form is submitted, two records are created with the same data saved, and only the last text from the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Duplicated and wrong data saving when using dynamic input</title><link>https://community.appian.com/thread/120299?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2023 14:50:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8f6ae38-498d-4e98-beb5-a7057f855f50</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;1) I&amp;#39;m unclear what the desired output structure for &amp;quot;ri!evaluation&amp;quot; is, with respect to the paragraph text(s).&amp;nbsp; Are you trying to create a separate row for each text provided, or trying to stuff them all together into one row?&lt;/p&gt;
&lt;p&gt;2) The way you&amp;#39;re saving into &amp;quot;local!chaqueObjectif&amp;quot; here is not doing what I suspect you&amp;#39;re wanting it to do.&amp;nbsp; Every time the user interacts with any of the paragraph fields defined here, &lt;em&gt;local!chaqueObjectif&lt;/em&gt; will be &lt;em&gt;&lt;strong&gt;overwritten with that singular value&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;.&lt;/strong&gt;&amp;nbsp; Later (in your saveInto referenced above), you&amp;#39;re trying to loop over it using a!forEach, but as currently configured it would not be possible for it to contain an array of values.&amp;nbsp; &lt;span style="text-decoration:underline;"&gt;Line 354&lt;/span&gt; should probably just be changed to reference &lt;em&gt;local!objectifs&lt;/em&gt;.&amp;nbsp; And I don&amp;#39;t think &lt;em&gt;local!chaqueObjectif&lt;/em&gt; actually serves any purpose (though it could be a handy &amp;quot;debugging&amp;quot; tool, since it would always reflect the most recent edited paragraph field value).&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1696863018434v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicated and wrong data saving when using dynamic input</title><link>https://community.appian.com/thread/120286?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2023 10:35:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:104f6303-a065-4480-9178-f665d4b963b7</guid><dc:creator>Dhivya Murugaraj</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If my understanding is correct you are expecting &amp;quot;the records&amp;nbsp;on the relational table with its respective values provided by the user instead of the same value provided at last, here&amp;nbsp;local!chaqueobjectif is storing the last paragraph field text alone, try the append function to store the array value as you did for&amp;nbsp;local!objectifs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>