FormField

open class FormField

A form field. Each form field can have multiple child FormElements. For example, radio button group is a RadioButtonFormField, while each radio button in a group is a RadioButtonFormElement.

Forms can be grouped in a tree hierarchy. The otherwise empty hierarchy elements are not returned as a form field. All that happens is that the fully qualified name contains the full hierarchy name, separated by a dot.

Inheritors

Properties

Link copied to clipboard
The alternate field name used for accessibility and error messages.
Link copied to clipboard
The list of form elements that visually represent this field.
Link copied to clipboard
The mapping name used when exporting form field data from the document.
Link copied to clipboard
The partial name of this form field.
Link copied to clipboard
The type of this form field (text, checkbox, radio button, etc.).

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Compares this form field to the specified object.
Link copied to clipboard
Returns the action that should be executed on annotation trigger event.
Link copied to clipboard
Returns first form element.
Link copied to clipboard
Returns the fully qualified name of the form field.
Link copied to clipboard
open fun hashCode(): Int
Returns a hash code value for this form field based on its fully qualified name and provider index.
Link copied to clipboard
open fun isDirty(): Boolean
Checks whether the form field is dirty (any value was modified).
Link copied to clipboard
open fun isExported(): Boolean
If set, the field shall be exported by a submit-form action.
Link copied to clipboard
open fun isReadOnly(): Boolean
If set, the user may not change the value of this field.
Link copied to clipboard
open fun isRequired(): Boolean
If set, the field shall have a value at the time it is exported by a submit-form action.
Link copied to clipboard
open fun reset(): Boolean
Resets form field to its original value.