Form validation, focus on field not validated`?

Is it possible to set focus on a textfield or other field when av field is not filled in properly?

Thanks in advance.

Yes, it should be possible in most cases just calling field.focus() from the validator. Unfortunately, I could not test that at the moment, but let me know if it doesn’t work! See also the
javadocs
for more information.