Have expiry date depend on publish date value
I’ve two date pickers, a publish date and an expiry date. How can I link the two so the expiry date has to be within 28 days of the publish date?
And if a publish day is set, then an earlier date selected, how do I ensure the expiry date is updated to be with the 28 day period?
Here’s what I have but I get this error
Call to a member function addDays() on string
. If a date is already set there is no error but nothing updates live when values are changed.
0 Replies