I have a spring application where i validate all validations in custom spring validator class.
My form has nearly 15 fields.If there is a error in the last field , how to set the focus to that element.
Does spring tags support that. Any technical ideas ? Currently i display my error messages near the fields itself.
It is possible to use spring:bind tag to determine whether a field or the whole model object has error and the overall status of the object after processing (submission).
Note:
statusvariable is exposed by thespring:bindtag.has validation errors.