This community has been very helpful and I'd like to thank you all! There's just one issue I can't seem to find a solution for online.
When an app is generated from a SP list, it's pretty basic with 3 screens. If I click the "Edit" button in the top right, the Date field will not retain and will default to the current date, which I've configured for the data entry screen. So my question is, can the date be retained on a specific record when users select the Edit button?
Thanks in advance!
Sounds like you've set the DefaultDate of the Date field in your Form to Today()? Is this correct?
If so, change it to this
If(EditForm1.Mode = FormMode.Edit,Parent.Default, Today())
Just change 'EditForm1' to match your Form name
Hi @Anonymous ,
The control should retain the date in both View and Edit modes as long as the Default of the control is set to ThisItem.FieldName where FieldName is the actual field in the data source of the form. Check that the Default is not set to Today() or Now() as this seems to be the case form what you are describing.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you! In the defaultdate field, I had "Text( Now(), DateTimeFormat.LongDate )"
Happy to help.
Just on formatting Date Pickers, there is a 'Format' property where you can adjust this. Makes things very easy 🙂
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!