Hey folks,
first i wanna say HELLO to everyone. I am a silverstripe user for almost a year and a half and now i joined the cummunity because i need your help.
So lets go: i am using a checkboxfieldset for a frontend form. Additionally i am using the jquery validate plugin for this form. The plugin wants to have its rules in a form like this...
rules{
Fieldname:{
required:true,
minlength:1
}
}
My problem is that silverstripe generates the fieldset with name-attributes like so:
name=Fieldname[Value A]
or name=Fieldname[Value B]
and These dont fit to the rules-syntax of the validate plugin. Which has to be name=Fieldname[]
Either i am using the checkboxfield wrong or i missed to learn a basic html-form-pattern regarding array-name-attributes :D
I hope you can help me!! ;)