add generic client-side form validation using jquery and jqyer-class