*RESOLVED* Return error if date field input is within 7 days from current date

*RESOLVED* Return error if date field input is within 7 days from current date

Hi all, this is my first question on the forum. 

I've got a field called Start_Date, where a manager can enter when a new employee will start at the company.
I'd like to have it return an error if the date chosen is within 7 days of the current date.

Something like 

  1. if input.Start_Date < zoho.currentdate.subDay(7);

maybe? 

Any help is much appreciated
Levi