Avatar

Level 2

I have a date field where I'm showing a DUE DATE (today's date + 5) , but I want to be able to omit the weekends (for sure) and holidays (if possible).

The due date cannot be a weekend or a holiday. For example, if someone submits the form on a Monday, the DUE DATE would have to be the following Monday, not Friday, Saturday or Sunday. Is this possible? Here is the code I have that needs to be edited:

$.rawValue = (Num2Date(Date()+5, "EEEE MMMM D, YYYY"))

-Leonardo