Input Elements
- <input> tag supported - The input tag specifies a point where the user is prompted to enter text.
Attribute |
Value |
Description |
Comments |
name |
nmtoken |
REQUIRED. The name of the variable that is set with the result of the user's input |
SUPPORTED |
emptyok |
true false |
Sets whether the user can leave the input field blank or not. Default is “true” |
SUPPORTED |
format |
A
a
N X x M m *f
nf
|
Sets the data format for the input field. Default is “M”
A = uppercase alphabetic or punctuation characters a = lowercase alphabetic or punctuation characters N = numeric characters X = uppercase characters x = lowercase characters M = all characters m = all characters *f = Any number of characters. Replace the f with one of the letters above to specify what characters the user may enter. nf = Replace the n with a number from 1 to 9 to specify the number of characters the user may enter. Replace the f with one of the letters above to specify what characters the user can enter. The user cannot exit the input box unless the correct number or type of characters is entered. The user does not receive an error message if incorrect data is entered |
SUPPORTED |
maxlength |
number |
Sets the maximum number of characters the user can enter in the field |
SUPPORTED |
size |
number_of_char |
Sets the width of the input field |
NOT SUPPORTED |
tabindex |
number |
Sets the tabbing position for the input field |
NOT SUPPORTED |
title |
cdata |
Sets a title for the input field |
SUPPORTED |
type |
text password |
Indicates the type of the input field. The default value is "text” |
SUPPORTED |
value |
cdata |
Sets the default value of the variable in the "name" attribute |
SUPPORTED |
The six display lines of the 4620 associated with feature buttons are all available for input elements. The top line of the display cannot be used for input.
The input tag causes an automatic line break before and after input text.
Only one input tag can exist per display line.
When a user views a page with the input tag specified, the first thing that shows up in the top line is the card title, if specified. When the user scrolls to the first line containing input, the top line shows the input box title if specified, otherwise the card title is shown. The top line displays the card title for all non-input text.
When the input box is selected, a vertical line (the "cursor") appears at the left side of the input box.
The attribute type password should only be used when it is important to not display the user' s password on the screen. Asterisks will be displayed instead. It is also important that the password not be cached.
The phrase [enter text here] appears for all input tags if the value attribute is null. If the author specifies a non-null content in the value attribute, that content displays between brackets for that input tag.
Only the correct size, type, and number of characters are accepted in to the input box. For example, if alpha text is specified and the user types in a symbol or numeric text, the user input is not accepted. The screen repaints and the user has to re-enter their input. If the wrong kind of text is typed, the user receives an error tone. If the “n” (number) value is specified and the user types in the incorrect number of characters, their input will not be accepted.
- <fieldset> tag - The fieldset tag is used to group logically related elements in a card. This tag is not supported.
- <optgroup> tag - Sets of <optgroup> brackets can be put around <options> in a <select> list. The results in breaking a list into sublists.
Attribute |
Value |
Description |
Comments |
title |
cdata |
Sets a title for the optgroup element |
SUPPORTED |
- <option> tag - A set of option tags is needed to specify each individual item in a list. This tag must be used with the select tag.
Attribute |
Value |
Description |
Comments |
onpick |
url |
Sets what is going to happen when an user selects an item |
SUPPORTED |
title |
cdata |
Sets a title for the option |
SUPPORTED |
value |
cdata |
Sets the value to be used when setting the "name" variable in the select element |
SUPPORTED |
- <select> tag - The select tag allows for the definition of a list, embedded in a card, to allow the user to choose inputs from a list rather than having to type something in. The select tag must be used with the option tag.
Attribute |
Value |
Description |
Comments |
name |
nmtoken |
Names the variable that is set with the index result of the selection |
SUPPORTED |
ivalue |
cdata |
Sets the pre-selected option element. If none is specified the first item in a list is automatically selected. |
SUPPORTED |
multiple |
true false |
Sets whether multiple items can be selected. Default is "false". False is used for a single selection. |
SUPPORTED |
tabindex |
number |
Sets the tabbing position for the select element |
NOT SUPPORTED |
title |
cdata |
Sets a title for the list |
SUPPORTED |
value |
cdata |
Sets the default value of the variable in the "name" attribute |
SUPPORTED |
A single select is rendered with a small square containing a dot. A multiple select is rendered as multiple squares - blank if there is nothing in them, else a lower case “x”.