public class FormStep extends QuestionStep
Step
, used for presenting multiple questions
on a single scrollable page.
To use FormStep, instantiate the object, give it a list of QuestionStep
s, and include it
in a task.
The result of a form step is an StepResult
object that
includes a child StepResult object for each form item.
Constructor and Description |
---|
FormStep(java.lang.String identifier,
java.lang.String title,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
java.util.List<QuestionStep> |
getFormSteps()
Returns the list of items in the form.
|
void |
setFormSteps(java.util.List<QuestionStep> formSteps) |
void |
setFormSteps(QuestionStep... formSteps) |
getAnswerFormat, getPlaceholder, getStepBodyClass, getStepLayoutClass, setAnswerFormat, setPlaceholder
getIdentifier, getStepTitle, getText, getTitle, isOptional, setOptional, setStepLayoutClass, setStepTitle, setText, setTitle
public FormStep(java.lang.String identifier, java.lang.String title, java.lang.String text)
public java.util.List<QuestionStep> getFormSteps()
public void setFormSteps(java.util.List<QuestionStep> formSteps)
public void setFormSteps(QuestionStep... formSteps)