I installed plugin version 1.4.9.The validation was not working for me as the message section has unescaped html:Any ideas?Using it with grails 2.3.7.
messages: {
custName: { maxlength: function() { return 'Property \u005bcustName\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custName').val() + '\u005d exceeds the maximum size of \u005b100\u005d'; }, required: 'Customer Name cannot be blank.' },
custDesc: { maxlength: function() { return 'Property \u005bcustDesc\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custDesc').val() + '\u005d exceeds the maximum size of \u005b200\u005d'; } },
I installed plugin version 1.4.9.The validation was not working for me as the message section has unescaped html:Any ideas?Using it with grails 2.3.7.
messages: {
custName: { maxlength: function() { return 'Property \u005bcustName\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custName').val() + '\u005d exceeds the maximum size of \u005b100\u005d'; }, required: 'Customer Name cannot be blank.' },
custDesc: { maxlength: function() { return 'Property \u005bcustDesc\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custDesc').val() + '\u005d exceeds the maximum size of \u005b200\u005d'; } },