Builder

class Builder(val title: String)

Set the title of the form

Constructors

Link copied to clipboard
constructor(title: String)

Properties

Link copied to clipboard
var description: String?
Link copied to clipboard
var required: Boolean
Link copied to clipboard
Link copied to clipboard
var skipButtonText: String?
Link copied to clipboard
val title: String
Link copied to clipboard
var toggles: List<Toggle>

Functions

Link copied to clipboard
Link copied to clipboard
fun setDescription(description: String?): SelectionInput.Builder

Set the description of the form

Link copied to clipboard
fun setRequired(required: Boolean): SelectionInput.Builder

Set whether this form is required

Link copied to clipboard

Set the button choices to display on the form

Link copied to clipboard
fun setSkipButtonText(skipButtonText: String?): SelectionInput.Builder

Modify the skip button text

Link copied to clipboard

Set the toggles to display on the form