Hello Power Apps Community,
I hope you can help please.
I'm using Dataverse for Teams to build a timesheet app.
I have a Form with a number of Date and Time columns, "Monday Start", "Monday End", "Tuesday Start". "Tuesday End" etc.
I want to add some validation, so when the date and time in say the column "Friday Start" is greater than "Friday End" I want to notify the user and stop them saving the form with incorrect data.
Currently, as a test, on one of the columns, "Friday Start", on the "HourValue" part of the datacard I've added this formula:
If(
crdFridayStart.Update > crdFridayEnd.Update,
Notify(
"Day Start hour is greater than day End hour. Adjust your Start hour to be earlier than your End hour",
NotificationType.Error,
10000
),
false
)
This notifies the user but still allows them to save the record. This test, or course, is not what I really want.

I want the entire datacard of the "Friday Start" to be compared with "Friday End" and if "Friday Start" is greater than "Friday End", even by a minute, I want the notification to appear and to stop the user saving the record.
Also, of course, I want this for all the datacard pairs, so "Monday Start" vs "Monday End", "Tuesday Start" vs "Tuesday End" etc.
Any guidance would be greatly appreciated.
Thanks very much,
Garry