Menu

Why val:validate

matejj4
2015-09-03
2015-09-03
  • matejj4

    matejj4 - 2015-09-03

    Is there reason for explicitely adding val:validate ? Why not add validation to all forms if class is anotated? What about validation groups?

     
  • Jose Miguel Samper

    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.

     

Log in to post a comment.