Form Flicker
fun FormFlicker(@Json(name = name ) name: String, @Json(name = value ) value: String, @Json(name = code ) code: List<List<String>>, @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
Parameters
name
The name of the form element
value
The set value of the form element
code
The actual flicker image as an array representation (0 = black bar, 1 = white bar)
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)