Hello,
I have a data card with a date picker and time selector in my form. If the user is entering a new event, I want the default value of the date to be today. If a user is viewing an existing record, I want the form to show the recorded date.
I stopped using the new mode for forms so my old formula If(FormISDTeamInfo.Mode = FormMode.New,Today(),ThisItem.XXX) does not work anymore.
Do you know of a workaround to achieve what I'm trying to do?
Thanks everyone!
Solved! Go to Solution.
Coalesce(Parent.Default, Today())
If the Parent.Default is blank, then Today() will be used. If you didn't want to allow the user to change it, you could simply put that formula in the Update property of the card itself, put a label in the card with its Text as Parent.Default and hide the datepicker
Coalesce(Parent.Default, Today())
If the Parent.Default is blank, then Today() will be used. If you didn't want to allow the user to change it, you could simply put that formula in the Update property of the card itself, put a label in the card with its Text as Parent.Default and hide the datepicker
THANK YOU SO MUCH