Running in powerapps with a form in edit mode, connecting to a backend Sharepoint/Microsoft List as the datasource. I have a field in List called 'Status' which is a type 'choice' and has 5 selectable fields to choose from. When I use the combobox on the form and click on Status pulldown and then select 'close', I'd like for the Date Picker field to then be visible and update the default date to the current date (no time, just the day/month/year).
However, if the form loads an existing entry that already has 'closed' chosen in the form and a pre-defined date, I'd like for it to keep the previously entered date and not update the date to today.
Any thoughts on how to accomplish this? I keep trying to use If(IsBlank(CloseDate.SelectedDate), ThisItem.CloseDate = Now()) but it's not working.
Thanks in advance!