FormCaptcha

fun FormCaptcha(@Json(name = namename: String, @Json(name = datadata: String, @Json(name = valuevalue: String, @Json(name = validationvalidation: String, @Json(name = invalidinvalid: Boolean, @Json(name = failed_validation_rulesfailedValidationRules: Any, @Json(name = validation_errorvalidationError: String)

Parameters

name

The name of the form element

data

The base64 encoded image

value

The set value 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)