Validation Without Using Form

I have a page/widget with several input fields. Some of the fields have validations on. I don’t use form just to by-pass
beanItem and FormFieldFactory boilerplate code.

So now when I need to submit I end up calling isValid() for each input fields with validation on. Of course I need to keep track of what fields have validations too.
Is this the best way to do?

AbstractField.isValid() and AbstractField.validate() check the required flag and the validator list, and should work just fine when a field does not have any validators. You should not need to keep track of where there are or aren’t validators.

If you call validate(), you get an exception with additional information about the validation failure, not just a yes/no value.