My name fields in my form are backed by a String array in a HashMap and I need them in the following format:
questionAnswersMap(Q8).answers[0] The problem is when I try to assign a validation rule to this name, I get an error in the javascript parsing: 'missing : after property id [Break on this error] questionAnswersMap(Q8).answers[0]: "required"\n' My form declaration looks like: <pre> $("#preAssessmentForm").validate({ debug: true, errorContainer: container, errorLabelContainer: $("ul", container), wrapper: 'li', rules: { questionAnswersMap(Q8).answers[0]: "required" }, messages: { questionAnswersMap(Q8).answers[0]: "You must select one or more requlatory standards." } </pre> The above works fine for a typical named 'name' field. Is there something I can do to get the above to parse correctly? -- View this message in context: http://www.nabble.com/-validate--Possible-bug---if-name-field-looks-like%3A-questionAnswersMap%28Q8%29.answers-0--tp15462087s27240p15462087.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.