You select a field type when you add a field to your data model or when you build a form. Use this table to decide which field type to select, based on what kind of information will be stored or displayed.
Field type | Property type | Control name | Run-time appearance |
---|---|---|---|
Text (single line) |
Text |
pxTextInput |
Text box. |
Text (paragraph) |
Text |
pxTextArea |
Text area. The text area supports plain text or rich text, based on the configuration that you select. |
Boolean |
TrueFalse |
pxCheckBox |
Check box. |
Currency |
Decimal |
pxCurrency |
Text box. |
Date & time |
DateTime |
pxDateTime |
Text box. An embedded calendar supports hours and minutes. |
Date only |
Date |
pxDateTime |
Text box. An embedded calendar supports days, months, and years. |
Decimal |
Decimal |
pxNumber |
Text box. |
|
Text |
pxEmail |
Text box. |
Integer |
Integer |
pxInteger |
Text box. |
Phone |
Text |
pxPhone |
Text box. |
Picklist |
Text |
pxDropdown or pxRadioButtons |
A drop-down list or set of radio buttons. |
Time only |
TimeOfDay |
pxDateTime |
Text box. An embedded clock supports hours and minutes. |
URL |
Text |
pxURL |
Text box. |
Attachment |
Page |
Not applicable. |
A button and an empty text box. The text box displays the path to the file after the attachment is uploaded. |
Location |
Page |
Not applicable. |
A map and an empty text box. Users can enter a location in the text box or drag and drop a pin on the map. |
User reference |
Text |
pxDropdown or pxAutoComplete |
A drop-down list or an autocomplete that is populated with the list of users in your application. |
Field group |
Page |
Not applicable. |
A group of related fields. |
Field group list |
Page list |
Not applicable. |
A list of related fields. |
Data reference |
Page |
pxAutoComplete |
An autocomplete that is populated with the list of data records. |
Data reference list |
Page list |
Not applicable. |
A read-only list of data records or a list of autocomplete fields, based on the type of object that is referenced by the list. This field type is not supported when you are building a form. |