im trying to get jquery validation to my symfony 2 project for long time. It work fine with default messages. But cant get there custom messages. There is problem with name of inputs. When i try something like this:
rules: {
xxx_backbundle_offerstype[title]: "required"
},messages: {
xxx_backbundle_offerstype[title]: "This field is required"
}
I get this error "missing operator after id". I think, it is JS error, but i dont know, how to solve it. Is it actually possible, to use jquery validation inf symfony.
Thank you for any tips