Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Major Functional Attributes)
(Major Functional Attributes)
Line 8: Line 8:
== Major Functional Attributes ==
== Major Functional Attributes ==
-
 
=== datatype/format ===
=== datatype/format ===
See [[Datatypes]].
See [[Datatypes]].
-
 
-
 
-
 
=== validation ===
=== validation ===

Revision as of 17:28, 13 February 2010


Contents

Intro

Easily most used UI control.

Used to enter text on forms.

Major Functional Attributes

datatype/format

See Datatypes.

validation

see Validation

readonly

Values: Y, N.

default

Values:

  • blank
  • constant
  • value that comes from DB or memory

Look and Feel attributes

width

Defines how wide is a textbox on the screen.

Most of the times it is defined in number of chars (ZK cols attribute). But it could be also defined in pixels (ZK width attribute).

This is actually almost only style / layout issue, could be defined in Style section. So in this case link should be provided instead of repeating definition.


Template for spec

Attribute: Value:
widget type: Textbox
adjusent label: tbd
default: blank / tbd
type/format: integer / decimal / alphanumeric / ascii
required?:
validation type: stop on max / zk standard / on submit
read-only?: Y / N

See also

Figures

Fig 1

File:Textbox.png

Personal tools