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 / Stop Updating The Subm...
Power Apps
Answered

Stop Updating The Submitted DateTime Picker DefaultDate Value After Editing.

(0) ShareShare
ReportReport
Posted on by 79

Hi All,

 

I have a DateTime Picker that has the DeafultDate value as Today()+3 as in the below screen capture.

 

Screenshot 1000'.png

 

The issue is when I submitted the form, it saves the DefaultDate value as expected. However, when we try to edit the form on a future day, the controls show the date as a new date with the calculated Today()+3 value. 

 

As an example like in the above screen capture, the Target Launch Date is 23rd January 2022. But If I try to edit the record tomorrow, the new Target Launch Date will be calculated to 24th January 2022. This has to be stopped.

 

How can I resolve that?

 

Thanks in advance.

 

Chiranthaka

Categories:
I have the same question (0)
  • Verified answer
    VeGETzX Profile Picture
    367 on at

    You can solve this by checking if the date field in your data source is blank or not.

     

    If it was blank, then DefaultDate is Today() + 3, but if it wasn't, just use its data as DefaultDate.

     

    Your DefaultDate property of your date picker should be

    If(IsBlank(Parent.Default),Today()+3,Parent.Default)

     

  • ChiranJay Profile Picture
    79 on at

    Thanks @VeGETzX . This works perfectly. 👌

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard