Hi all
In my Power Apps form, I have several date picker fields. I notice Power Apps lets me enter invalid dates (ex: 5/12/23). It doesn't give me an error, so I think I'm saving the date, but it actually doesn't save because of the 2 digit year.
How can I alert the user about this? I found another post that said to insert a text box next to the date picker with the Text property: If(IsBlank(DataCardValue01.SelectedDate), "", IsMatch( Text(DataCardValue01.SelectedDate, "[$-en-US]dd/mm/yyyy"), "^\d{2}\/\d{2}\/\d{4}"), "", "Date format must be dd/mm/yyyy")
But it doesn't work. No matter what date I enter, the words don't appear.
Any advice?
Thanks