Skip to content

Label

The Label form element is used for a title only field.

Example

Example

Kotlin

label(1) {
    title = "This is a label. The title takes up the whole row."
}

Java

List<BaseFormElement<?>> elements = new ArrayList<>();
FormLabelElement label = new FormLabelElement(1);
label.setTitle("This is a label. The title takes up the whole row.");
elements.add(label);