Control
Type |
Value |
Description |
Text
Box |
0 |
The default control type. It is used to display a standard HTML text box,
used to display text.
CWEB_CTLTYPE_TEXT |
Combo |
1 |
It is used to display a pull-down list.
When a CATSWeb Text or Memo field is configured
to be bound to
a list, the Control Type is automatically
changed to a Combo.
Note that all lists in CATSWeb (pull-down,
multi-row/single-select and multi-select) use
Combo and not List.
CWEB_CTLTYPE_COMBO |
Checkbox |
2 |
It is used to display a standard HTML checkbox.
In CATSWeb, these are implemented in conjunction
with numeric fields, such as integers, They are commonly used to:
- Enable options (True or False).
Note: Multi Select Checkboxes cannot be
configured using this approach. Contact AssurX
Technical Support for alternatives.
CWEB_CTLTYPE_CHECK
|
Radio Button |
3 |
It is used to display a standard HTML radio
button, which is commonly used to:
- Select a single
value from a list.
CWEB_CTLTYPE_OPTION
|
Text
Date |
4 |
It is used to display a standard HTML text box,
used to display a date.
CWEB_CTLTYPE_TEXTDATE |
Text
Single |
5 |
It is used to display a standard HTML text box,
used to display a number with a single datatype.
CWEB_CTLTYPE_TEXTSINGLE |
Text
Integer |
6 |
It is used to display a standard HTML text box,
used to display a number with an Integer
datatype.
CWEB_CTLTYPE_TEXTINTEGER |
Text
Double |
7 |
It is used to display a standard HTML text box,
used to display a number with a Double datatype.
CWEB_CTLTYPE_TEXTDOUBLE |
Text Area |
8 |
It is used to display a standard HTML text area,
used to display a CATSWeb Memo field.
CWEB_CTLTYPE_TEXTAREA |
Hidden |
10 |
It is used to display a standard HTML hidden
field.
CWEB_CTLTYPE_HIDDEN |
Text
Long Integer |
11 |
It is used to display a standard HTML text box,
used to display a number with an Long Integer
datatype.
CWEB_CTLTYPE_TEXTLONGINT |
File |
13 |
It is used to display a standard HTML file box,
which is used to display a Browse button for
selecting a file. When a form field is used to
store a file name, this can be a good option to
allow the user to select the desired file. Make
sure that a text or memo field is used, and that
it is large enough to store the file path and
name.
CWEB_CTLTYPE_PASSWORD |
Text
Currency |
15 |
It is used to display a standard HTML text box,
used to display a number with an currency
datatype.
CWEB_CTLTYPE_TEXTCURRENCY |
Password |
17 |
It is used to display a standard HTML password
box, used to hide input with asterisks or
circles (depending on the browser). This is a
good option for hiding passwords that are
entered on forms.
CWEB_CTLTYPE_PASSWORD |