Is Before - smbc-digital/form-builder GitHub Wiki

This condition checks the date is before. So if the user enters a date before some dome date in the future it returns true, The Unit can be either day, month or year

Example

The below returns true if the date is before 43 days from today.


 {
     "conditionType": "IsBefore",
     "questionID": "testDate",
     "comparisonValue": 43,
     "comparisonDate": "Today",
     "unit": "day"
}

Legacy Syntax


 {
     "questionID": "testDate",
     "isBefore": 43,
     "comparisonDate": "Today",
     "unit": "day"
}