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