<?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>Reset value in datetimefield</title><link>https://community.appian.com/discussions/f/user-interface/40429/reset-value-in-datetimefield</link><description>Is there any way to reset the value to null when only the date or time is entered in a datetimefield? 
 
 Screenshots attached 
 
 1. Enter only the date in &amp;#39;Fecha entrega en mano&amp;#39; 
 
 
 
 
 2. Click on CANCELAR and confirm 
 
 
 
 
 3. Click on EDITAR</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154643?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 15:13:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a4edc5c-5442-404b-986e-16a47b6f9c68</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="71145" url="~/discussions/f/user-interface/40429/reset-value-in-datetimefield/154637"]The problem arises when I enter only one of the values. It seems that, at the interface level, Appian does not reset the value correctly[/quote]
&lt;p&gt;Your reading is correct, and we have zero control of this from the design side, unfortunately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154638?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 09:11:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48434c76-a149-49f8-bdfd-f58da10ad292</guid><dc:creator>josemanuc746243</dc:creator><description>&lt;p&gt;The only issue with the datetimefield component is that it causes problems when I enter just the date or the time, even though the value of the local variable reverts to its previous value after clicking &amp;lsquo;Cancel&amp;rsquo;. It seems to be an Appian issue with that specific component, because we&amp;rsquo;re using a textfield that employs the same input rule to display the value as the datetimefield, and it displays correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I attached screenshot in the reply to Harsha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154637?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 09:07:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9bde607-a287-42b3-beb1-af9266c199a4</guid><dc:creator>josemanuc746243</dc:creator><description>&lt;p&gt;When I click on &amp;lsquo;Edit&amp;rsquo; and enter the date and time, or clear both fields and then click the &amp;lsquo;Cancel&amp;rsquo; button, the variable value resets correctly when I edit it again. The problem arises when I enter only one of the values. It seems that, at the interface level, Appian does not reset the value correctly for that specific datetime field because the read-only field is a text field; it does display the value correctly using the same local variable, but the local variable is updated correctly.&lt;/p&gt;
&lt;p&gt;1. I delete the time&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1779181762348v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2. Value &amp;#39;Fecha acuse&amp;#39; after deleting the time&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1779181866904v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. Value &amp;#39;Fecha acuse&amp;#39; after cancel&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1779181946069v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;4. Textfield in mode read only&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1779181970469v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;5. Datetimefield (We are using the same input rule to display the value in both the text field and the datetime field)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1779181998429v7.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154615?ContentTypeID=1</link><pubDate>Fri, 15 May 2026 09:40:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0584ee8-099c-489a-8a37-771337d5f315</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;datetime field stores the data entered in one of the fields internally, which we cannot reset. To clear it properly configure a!save(local!dateTimeValue,null) in the button that submits the form.&lt;/p&gt;
&lt;p&gt;Additionally if cancel/submit button have any process flow that writes the data into record/data store entity, you can add and set datetime field value to null before that node as well so that if value is not proper it doesnt get saved.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154614?ContentTypeID=1</link><pubDate>Fri, 15 May 2026 08:41:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54d23b77-1ce1-430a-8f91-172da72386b7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;How do you manage the overall interface state? Is this the only information you might need to reset somehow?&lt;/p&gt;
&lt;p&gt;In a dynamic interface where I switch between larger interface sections, I use additional saveInto statements in buttons to control the state of the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset value in datetimefield</title><link>https://community.appian.com/thread/154613?ContentTypeID=1</link><pubDate>Fri, 15 May 2026 05:10:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0dbb5ba-69d0-40c4-9443-062cb3fe4004</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Use a!save(local!myDateTimeVar, null()) in the Cancel action to clear the value explicitly, because a!dateTimeField() itself may keep the partial value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>