Date comparison in form


Is it possible to do date comparison within the form and make some decision (like date X is equal to or smaller than date Y)?


Yes it is possible. Please look here you can find some examples like convert to date

Thanks @Grzesiek2010!

This is what I needed (pasting here for others' benefit):

< bind nodeset="/data/d1" type="date"/>
< bind nodeset="/data/d2" type="date" constraint=". > /data/d1" jr:constraintMsg="Please select a date after Date1"/>

(Plz remove the extra spaces after first bracket in both lines. I put it there to cheat this answer editor.)