SingleInputSection

class SingleInputSection(val input: Input, val nextSectionInputId: String? = null, val submitForm: Boolean? = false) : InputSection

Represents a section of a form to collect user input for a single value.

Parameters

input

The input object which describes how the input will be presented and collected from a user.

nextSectionInputId

The unique identifier of the next section in the form.

submitForm

Determines whether this is the last section. Use this to inform the user that completing this section submits the form.

Constructors

Link copied to clipboard
constructor(input: Input, nextSectionInputId: String? = null, submitForm: Boolean? = false)

Properties

Link copied to clipboard
Link copied to clipboard
val nextSectionInputId: String? = null
Link copied to clipboard
Link copied to clipboard
val submitForm: Boolean? = false

Functions

Link copied to clipboard
fun hasValidationErrors(): Boolean
Link copied to clipboard
open override fun validate(): Input.ValidationError?