I'm new in zk ,I have a form with field and I defined some constraint on those fields and a submit button ,who can I link the submit button with the form and fields ,so I want click on the button the fields where the constraint not satisfied will appear in red ,Now my button doesn't see if the constraint are satisfied ,I know that I could verify in java code but that will not make the fields.
With MVC you could check componant if there are all validate before submitting here a good code it's helpful and good luck