Newbie here.
I have a SharePoint List Form that I'm editing in PowerApps. There are 2 date/time fields ("Start" & "End") in my SharePoint list. I want to do a bit of error checking to see if Start is after End. If Start is after End, I want an error message to appear when the user hits "Save" on the form since Start should not be after End.
Based on my research, I need to edit OnSave in SharePointIntegration. Here's what I've tried (among many other things):

PowerApps does not detect a syntax error in the code, but the code does not work since it does not detect when Start is after End.
My SharePoint List has the date/time fields "Start" and "End." My PowerApps form has these cards:
& 
Any ideas? Thank you for your help!
-Ben