Form Radio
data class FormRadio(@Json(name = name ) name: String, @Json(name = checked ) checked: Int, @Json(name = options ) options: List<FormRadioOption>, @Json(name = label ) label: String, @Json(name = validation ) validation: String, @Json(name = invalid ) invalid: Boolean, @Json(name = failed_validation_rules ) failedValidationRules: Any, @Json(name = validation_error ) validationError: String) : FormNameBase
Content copied to clipboard
Parameters
name
The name of the form element
checked
Index of the checked element
options
An array of possible options
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
FormRadio
Link copied to clipboard
fun FormRadio(@Json(name = name ) name: String, @Json(name = checked ) checked: Int, @Json(name = options ) options: List<FormRadioOption>, @Json(name = label ) label: String, @Json(name = validation ) validation: String, @Json(name = invalid ) invalid: Boolean, @Json(name = failed_validation_rules ) failedValidationRules: Any, @Json(name = validation_error ) validationError: String)
Content copied to clipboard
The name of the form element
Properties
failedValidationRules
Link copied to clipboard
options
Link copied to clipboard
validation
Link copied to clipboard
validationError
Link copied to clipboard