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