FormText

data class FormText(@Json(name = namename: String, @Json(name = valuevalue: String, @Json(name = labellabel: String, @Json(name = validationvalidation: String, @Json(name = invalidinvalid: Boolean, @Json(name = failed_validation_rulesfailedValidationRules: Any, @Json(name = validation_errorvalidationError: String) : FormNameBase

Parameters

name

The name of the form element

value

The set value of the form element

label

The label of the form element

validation

List of validation rules, concatenated with a pipe character

invalid

Indicates whether the validation of the element failed

failedValidationRules

A list of failed validation rules (concatenated with a pipe character)

validationError

The validation error (human readable)

Constructors

FormText
Link copied to clipboard
fun FormText(@Json(name = namename: String, @Json(name = valuevalue: String, @Json(name = labellabel: String, @Json(name = validationvalidation: String, @Json(name = invalidinvalid: Boolean, @Json(name = failed_validation_rulesfailedValidationRules: Any, @Json(name = validation_errorvalidationError: String)
The name of the form element

Properties

failedValidationRules
Link copied to clipboard
var failedValidationRules: Any
A list of failed validation rules (concatenated with a pipe character)
invalid
Link copied to clipboard
var invalid: Boolean
Indicates whether the validation of the element failed
label
Link copied to clipboard
var label: String
The label of the form element
name
Link copied to clipboard
open override var name: String
The name of the form element
validation
Link copied to clipboard
var validation: String
List of validation rules, concatenated with a pipe character
validationError
Link copied to clipboard
var validationError: String
The validation error (human readable)
value
Link copied to clipboard
var value: String
The set value of the form element