Skip to content

Is Before

Dr Simon Estill edited this page Jul 6, 2020 · 1 revision

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"
}
Clone this wiki locally