This might be a broad answer to give but i\'l try to shorten it up. What i am trying to do is use a form to get some information from the user and \"validate the form\" using Ja
If you want to validate data before submitting, you need to listen for the submit
event of the form. Inside the listener you can retrieve the data from inputs, validate it, set appropriate warnings, if necessary and so on. If the validation failed, you can prevent submitting returning false
from the listener.