Hi:
I have a Form with SharePoint List titled TASKS as my Data source.
The Fields are Due Date and Reminder Period in Weeks.
GOAL: While one keys in Reminder Period and then selects a Due Date, it should give an error message if the Reminder Date is less than Today.
Where, Reminder Date = Due Date - Reminder Period in Weeks.
QUESTION: How do I calculate the Reminder Date and save it in a variable varReminderDate
I can place a Label stating that "Please please select different value for either Reminder Period or the Due Date to make the Reminder Date in future." And, make this label visible only if varReminderDate < Today().
Note: I was able to do this using Power Automate easily but it takes a couple of minutes to run, save in SP List and messages the user after the fact. Thus, I would want to do the calculations in PowerApps itself to provide instant message before its submission if selected values are incorrect. See Attached scrrenshot.
Any help is appreciated.
Thank you,