Text

public interface Text implements FieldDefinition

Details of a text (or email) field.

Functions

Link copied to clipboard
public abstract String getFieldId()

Identifier for the field.

Link copied to clipboard
public abstract String getLabel()

Human-readable label for the field.

Link copied to clipboard
public abstract Boolean isEMail()

Is the field intended to be an email address?

Link copied to clipboard
public abstract Boolean isRequired()

True iff the value is required. This is only valid for fields within a survey

Link copied to clipboard
public abstract Unit validate(String value)

Check if value is valid for this field definition.