Constrain date entered to be after another date entered

How can I constrain an entered date to be after another date entered before
when i used date( min( ${date1}, ${date2})) always it five invalid date for the result

constraint = ${date1}<${date2}

Dateconsytraint.xlsx (14.2 KB)

BTW you can’t use the min() function like this; it is only used for nodesets (specifically, repeat groups). If you want to determine the ‘minimum’ (ie earliest) of two dates then you should probably just use an if() statement.

1 Like