Dialogs and form validation

Permalink
I'm using the $.fn.dialog functionality to popup a dialog with form fields. I added some attributes like "required" to a few, but when I hit save, it just posts the form although these fields are empty.

Is there a way to make attributes like "required" work without having to add addRequiredField and stuff like that in the controller?

A3020