web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Time stamp wont reset ...
Power Apps
Answered

Time stamp wont reset after form submit

(0) ShareShare
ReportReport
Posted on by 27

I am having issues clearing date fields (5 of them) in my App. The fields are populated with buttons.

 

Button formula: UpdateContext({DateNow2: Text(Now(),"[$-en-US]hh:mm:ss AM/PM")})

Text Field Formula: If(IsBlank(DateNow), ThisItem.'Stop Time', DateNow)

 

I have done the following to try to reset the fields after submit without success:

- Field "reset" property set to true

- Submit button formula: SubmitForm(EditForm1);ResetForm(EditForm1);Back()

- Form OnSuccess: ResetForm(EditForm1)

 

Any ideas?

Txs

Categories:
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Thuberdeau ,

    The reason why you met this problem is that :

    the variable is populated by clicking the button.

    If you just reset the form, but not click the button, the variable will not update with new time stamp.

    I suggest you set the submit button have formulas of setting variable too.

    For example:

    SubmitForm(EditForm1);ResetForm(EditForm1);Back();UpdateContext({DateNow2: Text(Now(),"[$-en-US]hh:mm:ss AM/PM")})

    Then when you submit the form, the variable will also update with new time stamp.

     

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard