Why val:validate
HTML5 validation dialect for the Thymeleaf template engine
Brought to you by:
jacksonbeat,
jmiguelsamper
Is there reason for explicitely adding val:validate ? Why not add validation to all forms if class is anotated? What about validation groups?
Hello,
the main reason is that we need a injection point for our code (it could be the <html> element for all forms).
On the other hand, I see a value on being able to trigger validation optionally in a particular form, but I see your point.
Regards.