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.
bool containsOption(string $optionValue, array $options) Checks whether given value is in the
bool isMultiple() Returns true if the field accepts multiple values.
tick() Ticks a checkbox. Exceptions
addChoice(DOMElement $node)
class TextareaFormField extends
Page 1 of 3