Skip to main content

Fields

Fields

Pega Platform™ applications collect and process important case data. By defining the fields that are displayed at runtime, you can collect information from users or present case information for review. For example, when providing search criteria to book accommodations, users enter each search criteria in a separate field; the criteria returns results that are displayed as read-only information.

Each field corresponds to a data element that stores a single value. When you create a data element, you assign it to a field type. The field type identifies the type of information stored in the system. By assigning a field type to a data element, you ensure that users provide valid information in the fields and that the system displays data in the correct format, as shown in the following Booking form.

booking example field types

Simple field types

In Pega Platform, you can assign a simple field type to a data element. The following table shows a list of simple field types and the information each type stores.

Field type Type of data Example
Text (single line) Any single line of text. 
Last name: Juarez
Text (paragraph) A large text box that accepts multiple lines of text.
Notes to manager
    Boolean Allows users to select a check box to indicate one of two possible responses.
i am already a member boolean
Currency Currency code and value are stored based on the default currency type.
total price: $234.99
Date & time UTC (Coordinated Universal Time) value normalized to Greenwich Mean Time (GMT). Date automatically displays in a localized format. 
date and time
Date only Calendar date with a localized format.
date only
Decimal

Numbers with a fractional component. Use this field type when fractions are needed.

average score
Email Valid email format with a @ symbol. An email field is an action-oriented control, meaning the value stored in the field displays as a link. For an email, the link initiates users' default email application.
email
Integer

Positive and negative whole numbers, including the value zero (0). 

Tip: An integer field stores only the value that begins at the first non-zero digit. For values that do not require arithmetic calculations, use a text field type.
items in cart
Phone Digits display in a localized format. A phone field is an action-oriented control, meaning the value stored in the field displays as a link. For example, if users access the application on a mobile device, the phone number link initiates a phone call.
office phone
Picklist A list of predefined values.
select color picklist
Time only UTC (Coordinated Universal Time) value normalized to Greenwich Mean Time (GMT).
preferred start time
URL Web address. A URL field is an action-oriented control, meaning the value stored in the field displays as a link. For a URL, the link initiates the users' default browser and opens the target web page
website

 

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

82% found this content useful

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice