select(string $value) Sets the value of the field.
string getType() Returns the type of the choice field (radio, select, or checkbox).
string getName() Returns the name of the field.
class ChoiceFormField extends FormField
setErrorCode(int $error) Sets the PHP error code associated with the field.
bool isMultiple() Returns true if the field accepts multiple values.
addChoice(DOMElement $node)
tick() Ticks a checkbox. Exceptions
bool containsOption(string $optionValue, array $options) Checks whether given value is in the
class TextareaFormField extends
Page 1 of 3