FormFieldType
Inheritance: java.lang.Object
public final class FormFieldType
Specifies the type of form field.
Fields
Field | Description |
---|---|
Text | The text form field can contain any text. |
Number | The text form field can contain only numbers. |
Date | The text form field can contain only a valid date value. |
CurrentDate | The text form field value is the current date when the field is updated. |
CurrentTime | The text form field value is the current time when the field is updated. |
CheckBox | The checkbox form field. |
DropDown | The drop-down field. |
Text
public static final int Text
The text form field can contain any text.
Number
public static final int Number
The text form field can contain only numbers.
Date
public static final int Date
The text form field can contain only a valid date value.
CurrentDate
public static final int CurrentDate
The text form field value is the current date when the field is updated.
CurrentTime
public static final int CurrentTime
The text form field value is the current time when the field is updated.
CheckBox
public static final int CheckBox
The checkbox form field.
DropDown
public static final int DropDown
The drop-down field.