p.addContent("This is a multi-option 'CheckBox' field, ");
checkBox = p.addCheckBox("fruit");
if (help)
checkBox.setHelp("Select all the fruits that you like to eat");
if (error)
checkBox.addError("You are incorrect you actualy do like Tootse Rolls.");
checkBox.setLabel("fruits");
checkBox.addOption("apple","Apples");
checkBox.addOption(true,"orange","Oranges");
checkBox.addOption("pear","Pears");
checkBox.addOption("tootsie","Tootsie Roll");