- <init>
Creates a new FormField with the variable name that uniquely identifies the
field in the context of
- addOption
Adss an available options to the question that the user has in order to answer
the question.
- addValue
Adds a default value to the question if the question is part of a form to fill
out. Otherwise, adds
- addValues
Adds a default values to the question if the question is part of a form to fill
out. Otherwise, adds
- getDescription
Returns a description that provides extra clarification about the question. This
information could b
- getLabel
Returns the label of the question which should give enough information to the
user to fill out the f
- getType
Returns an indicative of the format for the data to answer. Valid formats are: *
text-single ->
- getValues
Returns an Iterator for the default values of the question if the question is
part of a form to fill
- getVariable
Returns the variable name that the question is filling out.
- isRequired
Returns true if the question must be answered in order to complete the
questionnaire.
- resetValues
Removes all the values of the field.
- setDescription
Sets a description that provides extra clarification about the question. This
information could be p