When a want to inicialize a single checkbox a write:
 form.getWidget("single_checkbox").setValue(true);

What shouuld I do when a have a multivalue field with list-type="checkbox"?

I supose I should use setValeus, like this:
form.getWidget("multi_checkbox").setValues(???);

What should I write there (???). I know that this should be Object[], but I
don't know what does it sxacly mean? Please give me an example.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to