date_less_than |
Yes |
Returns FALSE if the value is not a valid date OR if the date entered is after the control date. There can be up to 3 comma delimited parameters
- Mandatory. The date to compare against. This can be one of
- A literal date, eg 2022-02-07
- The name of another input, eg "effective_until"
- The literal text "today" (case insenstive)
- Optional. If the date can be the same as the control date, make the second parameter "true". You can use "false" if you want to use the third parameter
- Optional. Only used when the first parameter is the name of another input. This parameter will be the human name of the input. Prefix with "lang:" to use a languge directive.
|
date_less_than[today,true] date_less_than[2022-09-04] date_less_than[input_name,true,lang:input_name_lang_directive] |