Sound a bit to me that you never would change the date. If that is so then you should be able to use the same validation rule.
Nov 18, 2021
6
Level 3
Validation Rule for date.
I need some help. I need a rule to check the date. On create: required|date|greater:yesterday. Thats fine, cause i want only to set dates from today or higher. My problem is, how can i check the date on edit. Cause, when i edit it 2 days later, i got an validation error, cause date is less then today. I would like, when i edit, it should pass on the same date as already saved, or when date changed, it must be greater then yesterday (today).
thanks.
Please or to participate in this conversation.