Previous Next JavaScript must be enabled to correctly display this content

## 13.1.4 Editing Page Items

Edit item attributes to control how an item displays on a page.

For example, the Type attribute determines if the item displays as text field, text area, checkbox, date picker, switch, hidden item and so on. Depending upon the item Type, item attributes can determine where a label displays, how large an item is, and if the item displays next to or below the previous item. Item attributes also control item behavior such as the item’s default value, whether the item displays conditionally, or if the item is read-only.

- Editing Page Item Attributes in the Property Editor
  Learn about editing page item attributes in the Property Editor.
- Positioning Page Items
  Position page items at a page or region level.
- Defining Default Values for Page Items
  Define default values for an item using the Default attribute.
- Configuring Page Item Security
  Learn about editing page item Security attributes in the Property Editor.
- Changing an Existing Item to Use Quick Picks
  Change an item to use a quick picks list by editing the Quick Picks attributes in Page Designer.
- Configuring Multiple Value Attributes
  Control how lists are stored or define custom separators using Multiple Value attributes.
- Displaying Conditional Page Items
  Display an item conditionally by editing Server-side Condition attributes.
- Displaying Read Only Page Items
  Display a read-only item by editing the Read Only attribute in Page Designer.
- Applying a Format Mask to an Item
  Apply a format mask to an item by editing the Format Mask attribute.
- Configuring Item Attributes to Warn Users of Unsaved Changes
  Configure the Warn on Unsaved Changes attribute to specify if the page item should be included in the unsaved changes check.
- Controlling How Page Items Write Session State
  Control how a page item maintains session state by configuring the Session State, Storage attribute.
- Viewing Item Utilities
  Access the Item Utilities page to view the Password Items and Conditional Items reports.

Parent topic: Managing Page Items

### 13.1.4.1 Editing Page Item Attributes in the Property Editor

Learn about editing page item attributes in the Property Editor.

To edit item attributes in the Property Editor:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.

   The Property Editor displays the Page Item attributes. Attributes are organized in groups. To search for a group or an attribute, enter a keyword in the Filter Properties field. The Property Editor displays the group or attributes. Or, you can click Go to Group and select the group.

3. Edit the appropriate attributes in the Property Editor.

   Edited attributes display a green marker to the left of the attribute name until the page is saved.

   To learn more about an attribute, select the attribute in the Property Editor and click the Help tab in the central pane.

4. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.2 Positioning Page Items

Position page items at a page or region level.

To position a page item at the page-level:

1. Select the page item in Page Designer.
2. In the Property Editor leave the Layout, Region attribute empty.
3. To place a page item at a specific location on the page, configure the Layout, Position attribute.

To position a page item at a region-level:

1. Select the page item in Page Designer.
2. In the Property Editor, edit the Layout, Region attribute and select the region where the page item belongs.
3. Configure the Layout, Position within the region to place a Page Item at a specific location inside the region.

Parent topic: Editing Page Items

### 13.1.4.3 Defining Default Values for Page Items

Define default values for an item using the Default attribute.

The default value is used when the item's value is not derived from session state and when the source value is `NULL`.

To define a default value for an item:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.

   The Property Editor displays the Page Item attributes. Attributes are organized in groups. To search for a group or an attribute, enter a keyword in the Filter Properties field. The Property Editor displays the group or attributes. Or, you can click Go to Group and select the group.

3. In the Property Editor, find the Default group.
4. Default, Type - Select a default value type for this item. Options include:
   - Static - Set to the value entered in Static Value.
   - Item - Set to the value returned from the session state for the selected Item.
   - SQL Query - Set to the value returned from the entered SQL Query.
   - SQL Query returning Colon Delimited List - Set to the colon delimited list of values returned from the entered SQL Query . Colon delimited lists are required when the column is displayed as a checkbox, radio group, or shuttle.
   - PL/SQL Expression - Set to the value returned from the entered PL/SQL Expression.
   - PL/SQL Function Body - Set to the value returned from the PL/SQL Function Body entered.
   - Sequence - Set to the value returned from the Sequence entered.
5. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.4 Configuring Page Item Security

Learn about editing page item Security attributes in the Property Editor.

To configure page item security:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.
   The Property Editor displays the item attributes. Attributes are organized in groups. To find a group or attribute, enter keywords in the Filter Properties field, or click Go to Group and select the group.
3. Under Security:

   - Security, Authorization Scheme - Select an authorization scheme to control this component. The authorization must evaluate to TRUE in order for this component to be rendered or executed.

     See Also: Providing Security Through Authorization

   - Security, Session State Protection level - Select a Session State Protection level. Options include:

     - Unrestricted - The item can be set by passing the item in a URL or in a form. No checksum is required in the URL.

     - Checksum Required - Application Level - The item can be set by passing the item in a URL that includes a checksum specific to the workspace and application.

     - Checksum Required - User Level - The item can be set by passing the item in a URL that includes a checksum specific to the workspace, application and user.

     - Checksum Required - Session Level - The item can be set by passing the item in a URL that includes a checksum specific to the session.

     - Restricted - May not be set from browser - The item cannot be altered using the URL or POSTDATA. Select this option to restrict what can set the item value to internal processes, computations, and so on. This attribute only applies to items that are not used as data entry items and is always observed, even if Session State Protection is disabled. Use this attribute for page or application items that have the following Display As types

       - Display Only (Save State=No)
       - Text Field (Disabled, does not save state)

     See Also: Preventing URL Tampering

   - Security, Store value encrypted in session state - Specify whether to encrypt this item when stored in session state. If the contents of an item contains sensitive data, then you should encrypt the value when it is stored in the Oracle APEX session state management tables. Otherwise, anyone with rights to read the Oracle APEX meta data tables could potentially write a query to extract this sensitive data.

     See Also: Understanding Cross-Site Scripting Protection

   - Security, Restricted Characters - Select how to restrict the characters that can be saved in session state. APEX displays an error message if a user tries to save data that does not conform to the selected character restriction. Restricting the characters hardens application security and is a possible counter measure to cross-site scripting (XSS) attacks.

     Available options include:

     - All characters can be saved - No restriction applies.

     - Allowlist for a-Z, 0-9 and space - Only allow characters a-z, A-Z, 0-9, and space.

     - Blocklist HTML command characters (<>") - Reserved HTML characters cannot be saved.

     - Blocklist &<>"/;,*|=% and --: - The following characters cannot be saved:

       &, <, >, ", /, ;, ",", *, |, =, % and "--" (PL/SQL comment)

     - Blocklist &<>"/;,*|=% or -- and new line - The following characters cannot be saved:

       &, <, >, ", /, ;, ",", *, |, =, %, "--", and new line characters

4. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.5 Changing an Existing Item to Use Quick Picks

Change an item to use a quick picks list by editing the Quick Picks attributes in Page Designer.

Quick picks enable users to select predefined values with just one click, rather than typing in text or selecting from a list of available options. If the item type supports quick pick selections, use the Quick Picks attributes to define a static list, a shared list of values, or a SQL query.

To create a quick pick:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.
   The Property Editor displays the item attributes. Attributes are organized in groups. To find a group or attribute, enter keywords in the Filter Properties field, or click Go to Group and select the group.
3. Quick Picks, Type - Select the quick pick type. Options include:
   - Static
   - Shared List of Values
   - SQL Query

   The UI changes based on the Quick Pick, Type.

4. If Type is Static - Quick picks are based on up to ten static value pairs.
   1. Quick Picks, Type - Select Static .
   2. Quick Picks, Label 1 - Enter the label for the first Quick Pick. This label is the text the application end user sees.
   3. Quick Picks, Value 1 - Enter the value associated with the first Quick Pick. This value replaces the existing item value when the user clicks this quick pick.
   4. Repeat the previous two steps until all Quick Pick labels and values have been defined.
5. If Type is Shared List of Values - Quick picks are based on the defined list of values. Only entries where the Quick Pick Rank is set will display.

   Note:

   If you are creating a Dynamic List of Values, the Column Mapping section includes the Quick Pick Rank Column attribute. Use this attribute to specify which column name of the LOV source is used to determine if the record is identified as part of the quick pick. See Editing a List of Values in Shared Components.
   1. Quick Picks, Type - Select Shared List of Values.
   2. Maximum Displayed Entries - Define the maximum displayed entries (1 to 10) that will be rendered.
   3. Link Attributes Enter HTML attributes that are associated with the display of each Quick Pick link.
6. If Type is SQL Query:
   1. Quick Picks, Type - Select SQL Query.
   1. Quick Picks, SQL Query - Enter the SQL query definition to populate the quick picks in the following format:

          select [displayValue],
                 [returnValue]
            from ...
           where ...
           order by ...

      Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes a SQL expression. The quick picks returned by the query must be valid and consistent with the List of Values for the item to ensure proper functionality.

      To view an example, see Page Designer help.

   2. Quick Picks, Maximum Displayed Entries - Define the maximum displayed entries that will be rendered.
   3. Quick Picks, Link Attributes - Enter HTML attributes that are associated with the display of each Quick Pick link.
7. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.6 Configuring Multiple Value Attributes

Control how lists are stored or define custom separators using Multiple Value attributes.

You can configure Multiple Values attributes for the folowing item types: Checkbox Group, Combobox, List Manager, Popup LOV, Select List, Select Many, and Shuttle. Configuration of these attributes is required for Checkbox Group, List Manager, Select Many, and Shuttle.

these

The Multiple Values group contain two attributes. Type determines whether the Source Column contains multiple values and how these are encoded. Separator enables you to define the character which separates values from one other.

To edit Multiple Values attributes:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.
   The Property Editor displays the item attributes. Attributes are organized in groups. To find a group or attribute, enter keywords in the Filter Properties field, or click Go to Group and select the group.
3. Under Multiple Values:
   1. Multiple Values, Type - Determines whether the Source Column contains multiple values and how these are encoded.

      Options include:

      - No - Column does not contain multiple values.

      - Delimited List - Column contains values as a delimited list. Example:

        `APEX,SQL,PL/SQL`

        Use the `APEX_STRING.SPLIT` function for processing, for example:

            select column_value from apex_string.split ( :ITEM_NAME, ',' );

      - JSON Array - The Source column contains a JSON array of scalar values. If the column contains invalid JSON syntax, APEX will raise error messages, for example:

            ["APEX", "SQL", "PL/SQL"]

        Use the `JSON_TABLE SQL` function for processing, for example:

            select
                element
            from
                json_table ( :ITEM_NAME, '$[*]'
                    columns
                        element varchar2 path '$'
                );

   2. Multiple Values, Separator - Identifies the character which separates values from one other. To view examples, see Page Designer Help.

      Note:

      Double-quote ("), backslash (/) characters or characters in the`\xxxx` format are not supported as a Value Separator.
4. To save your changes click Save.

Parent topic: Editing Page Items

### 13.1.4.7 Displaying Conditional Page Items

Display an item conditionally by editing Server-side Condition attributes.

To display a conditional item:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.

   The Property Editor displays Page Item attributes. Attributes are organized in groups.

   To find a group or attribute, enter keywords in the Filter field. The Property Editor displays the group or attributes. Or, you can click Go to Group and select the group.

3. Server-side Condition, Type - Select a condition type that must be met in order for this component to be rendered or processed.

   To learn more about an attribute, select the attribute in the Property Editor and click the Help tab in the central pane.

4. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.8 Displaying Read Only Page Items

Display a read-only item by editing the Read Only attribute in Page Designer.

To display a read-only item:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.
   The Property Editor displays attributes for the item. Attributes are organized in groups. To find a group or attribute, enter keywords in the Filter Properties field, or click Go to Group and select the group.
3. Under Read Only:
   1. Read Only, Type - Select a condition type that must be met in order for this component to render as read-only.

      Not selecting a condition causes the item to render normally. A read-only item is rendered with the same settings as a Display Only item.

      To always render the item as an enterable field, set the condition type to Never. This setting overwrites any read-only condition setting on the region or page level.

   2. The UI may change depending on the Type you select. Edit the appropriate attributes.

      To learn more, select the attribute in the Property Editor and click the Help tab in the central pane

4. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.9 Applying a Format Mask to an Item

Apply a format mask to an item by editing the Format Mask attribute.

Developers commonly select a format mask to determine how numbers and dates display.

To apply a format mask to an item:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.

   The Property Editor displays Page Item attributes. Attributes are organized in groups.

   To find a group or attribute, enter keywords in the Filter field. The Property Editor displays the group or attributes. Or, you can click Go to Group and select the group.

3. Appearance, Format Mask - Select a format mask.

   Tip:

   Only apply number format masks to items that contain numbers and only apply date format masks to items that contain dates. Otherwise, an error is raised since the component contains a value that can not be converted using the specified format mask.
4. To save your changes click Save. To save and run the page, click Save and Run Page.

Parent topic: Editing Page Items

### 13.1.4.10 Configuring Item Attributes to Warn Users of Unsaved Changes

Configure the Warn on Unsaved Changes attribute to specify if the page item should be included in the unsaved changes check.

Developers can use the Warn on Unsaved Changes item attribute to specify if the page item should be included in the unsaved changes check. This check warns the user when they try to navigate away from a page and when the page contains unsaved changes. Items not based on a database column (for example, a search item) may not need to be checked. For those items, set Warn on Unsaved Changes to Do Not Check.

To configure the Warn on Unsaved Changes attribute:

1. View the page in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.

   The Property Editor displays Page Item attributes. Attributes are organized in groups.

   To find a group or attribute, enter keywords in the Filter field. The Property Editor displays the group or attributes. Or, you can click Go to Group and select the group.

3. Advanced, Warn on Unsaved Changes - Select one of the following:

   - Page Default - Include item in the unsaved changes check if Warn on Unsaved Changes is enabled at the page-level.

   - Ignore - Changes to the item are ignored by the unsaved changes check. Select this option for items not based on a database column (for example, a search item).

4. To save your changes click Save. To save and run the page, click Save and Run Page.

Tip:

The Warn on Unsaved Changes attribute is implemented using the `apex.page.warnOnUnsavedChanges` API.

See Also:

- Configuring Pages to Warn Users of Unsaved Changes

- warnOnUnsavedChanges in Oracle APEX JavaScript API Reference

Parent topic: Editing Page Items

### 13.1.4.11 Controlling How Page Items Write Session State

Control how a page item maintains session state by configuring the Session State, Storage attribute.

To configure page item writes session state:

1. View the page containing the item to be configured in Page Designer:
   1. On the Workspace home page, click the App Builder icon.
   2. Select an application.
   3. Select a page.
   Page Designer appears.
2. In either the Rendering tab or the Layout tab, select the item to edit.
   The Property Editor displays the item attributes. Attributes are organized in groups. To find a group or attribute, enter keywords in the Filter Properties field, or click Go to Group and select the group.
3. In the Property Editor, find the Session State group.
4. Session State, Storage - Select how session state is maintained. Options include:
   - Per Request (Memory Only) - Do not save state in the database. State is only available when processing the current request. When AJAX requests need to use an item, make sure to pass the item name using Page Items To Submit.
   - Per Session (Disk)- Maintain for each session by storing the value in the database, to access it across requests.
   - Per User (Disk) - Maintain for a user by storing the value in the database, to access it across sessions.

   Note:

   When creating database items that work with a Form region (for example as part of a wizard), Per Request (Memory Only) is the default. Per User (Disk) is not available for these items.
5. To save your changes click Save. To save and run the page, click Save and Run Page.

See Also:

About Setting Session State

Parent topic: Editing Page Items

### 13.1.4.12 Viewing Item Utilities

Access the Item Utilities page to view the Password Items and Conditional Items reports.

To access the Item Utilities page:

1. On the Workspace home page, click the App Builder icon.
2. Select an application.
3. Click Utilities.
4. From Page Specific Utilities sidebar region, click Item Utilities.
5. Select one of the following reports:

   - Password Items - Edit password items in your application. Oracle recommends password items not save session state. To learn more, see the Password Items region on the right side of the page.

   - Conditional Items - Edit conditional items in your application.

Parent topic: Editing Page Items