I am trying to implement jquery validation in my symfony2 project.If i apply class="required " in a text field, the validation works fine but when try to apply custom validation like
$("#checkoutForm").validate({
rules: {
checkout_name: {
required:true
}
}
});
{})? Can you post the code of the custom method?checkout[name]but it gives error likemissing operator after idthats y i m using by ID