Interface View.Field
- Enclosing interface:
View
public static interface View.Field
One field of a
View.Form.-
Method Details
-
value
- Parameters:
value- what the field holds when the page is drawn: text, a number, a boolean- Returns:
- this field
-
placeholder
- Parameters:
text- shown in the field while it is empty- Returns:
- this field
-
help
- Parameters:
text- a line under the field- Returns:
- this field
-
required
View.Field required()- Returns:
- this field, which the form cannot be sent without
-
option
A choice of a select.- Parameters:
value- the value sentlabel- what the list shows- Returns:
- this field
-
min
- Parameters:
min- the lowest number allowed- Returns:
- this field
-
max
- Parameters:
max- the highest number allowed- Returns:
- this field
-
step
- Parameters:
step- the step between numbers, 1 until set- Returns:
- this field
-
suggest
- Parameters:
values- values suggested while typing- Returns:
- this field
-
length
- Parameters:
max- how many characters the field takes at most- Returns:
- this field
-