check form validity on submit
min/max support expressions