Dropdown control Properties — General tab |
Click in the layout containing the dropdown control (pxDropdown) to display the Properties panel, and then select the General tab to define the source of values in the dropdown list.
Field |
Description |
Property |
Press the down arrow to select a property, the value of which will be set by the option selected from the dropdown list at run time. You can configure a list of options for the dropdown in the List Source area, as well as select the caption and value for the options. Dropdown options can come from the list defined on the property or from a clipboard page, data page, or report definition. If the set of possible values is provided by a property using the Table Type field , specify a For Click to review a property (if the reference is to an existing property in the Applies To class of this rule or a parent of that class). If the property is not found, the New dialog box for the property form appears. You can reference properties on any page identified on the Pages & Classes tab, using the normal notation pagename.propertyname for pages other than the page corresponding to the Applies To class of the rule. If this field is in a cell of a section that includes parameter declarations on the Parameters tab, you can enter the notation param.NAME here, to use a parameter value for the field, where NAME identifies a string parameter. Make sure that the NAME parameter is declared on the Parameters tab, and that your application provides a non-blank value for the parameter value in all possible situations where the section appears. See Sections — Completing the Parameter tab. |
Label |
Select Use property default to use the label Dropdown. Clear the checkbox to either type a text string, or select a field value from the SmartPrompt list that contains records with Field Name key part of pyCaption. Click to open a field value or create a one. |
Default value |
Click to start the Expression Builder. Choose a default value that speeds data entry. When the system renders a harness or section in read-only mode (for example because the read-write mode requires a privilege that the current user does not hold), the default value does not appear, because data entry is not permitted. |
Tooltip |
If you want to display a tooltip when the user hovers the mouse pointer over the dropdown list, type a text string such as Click to open a field value record or create a new one. This tooltip applies to the entire dropdown list. If the List Source Type is Data page, Clipboard page or Report definition, you can also specify a tooltip that displays when the user hovers the mouse pointer over an item within the dropdown list. To do this, specify the Property for tooltip in the List Source area on the General tab. |
Visibility | Select to determine when the property value is to appear. Always is the default. (If this setting is not applicable, the cell contents are blank.)
Do not make an input field invisible if your application expects user input on the field. When a user submits an HTML form, an input field that is not visible is not included in the HTTP details. |
Disable |
Select to disable the text input:
|
Required |
Appears only for fields in cells on flow actions and sections.
Select to require that when the form appears at runtime in read-write mode, users cannot successfully submit the form if the field is blank.
Selecting Required marks the label for this field with an orange asterisk () when the flow action form appears in read-write mode. (The asterisk also appears if the Label control's Value For field is not blank and the Label control's Required box is checked.) For sections, checking this box enables client-side format validation when this section is part of a harness form that has the Enable Client Side Validation box selected on the HTML tab. At runtime, users who leave this field blank and submit the form are notified immediately that the field is required; the form is not transmitted to the server. |
Include placeholder |
Select to display by default a hint or instructional text that helps users select a correct value. Either enter a text string, or select a field value from the SmartPrompt list that contains records with Field Name key part of part of pyCaption. Click to open a field value record or create a one. |
List Source | |
Type |
Select one of the following as the source for the dropdown list:
When the source is a clipboard page, data page, or a report definition, you can categorize items within the dropdown list. When a dropdown list is bound to a data page or report definition that accepts parameters and the parameter value uses a property reference, the dropdown list automatically refreshes with new items whenever the property value changes. No additional configuration is required. This can be used to set up cascading dropdowns or any combination of controls. |
Run Data Transform |
Displays when the List Source Type is Clipboard page. Select to run a data transform prior to populating the dropdown list. Press the down arrow in the Data Transform field and select the data transform. |
Run Activity |
Displays when the List Source Type is Clipboard page. Select to run an activity prior to populating the dropdown list. Press the down arrow in the Activity field and select the activity that you want to run. |
Data Page |
Displays when the List Source Type is a Data page. Press the down arrow to select the data page that you want to use as the source of the dropdown values. If the data page has parameters, you can pass parameter values to the data page. Press the down arrow in the Value field to specify the value that you want to pass to the data page. Using parameters, you can filter the results that are returned to the dropdown from the data page. For example, if a data page contains the values of work objects W-001 to W-9999, by passing a parameter value, you can filter the results and populate the dropdown only with those work objects beginning with W-1. |
Clipboard page |
Displays when the List Source Type is a Clipboard page. Required. Press the down arrow to select the clipboard page that you want to use as the source of the dropdown values. Identify the page on the Pages & Classes tab. See How to complete a Pages & Classes tab. |
Applies To |
Displays when the List Source Type is a Report definition. Required. Specify the Applies To class of the report definition. |
Report Definition |
Displays when the List Source Type is a Report definition. Required. Press the down arrow to select the report definition that is the source of values for the dropdown list. If the report definition has parameters, you can pass parameter values to the report definition. Press the down arrow in the Value field to specify the value that you want to pass to the report definition. Using parameters, you can filter the results that are returned to the dropdown from the report definition. For example, if a report definition contains the values of work objects W-001 to W-9999, by passing a parameter value, you can filter the results and populate the dropdown only with those work objects beginning with W-1. |
Value property |
Displays when the List Source Type is a Data page, Clipboard page or a Report definition. Required. Press the down arrow to select the select the value that you want to display as text in the dropdown list. |
Caption property |
Displays when the List Source Type is a Data page, Clipboard page or a Report definition. Press the down arrow to select the value that you want to display as the label for the dropdown values. If you do not specify a value, the display text defaults to the specified Property for value. |
Tooltip property |
Displays when the List Source Type is a Data page, Clipboard page or a Report definition. If you want to display a tooltip when the user hovers the mouse pointer over the item in the dropdown list, press the down arrow to select the source of the tooltip text. If you do not specify a value, then a tooltip does not appear for the item in the dropdown list. To specify a tooltip that applies to entire dropdown list, complete the Tooltip field on the Presentation tab. |
Group items | Displays when the List Source Type is Data page, Clipboard page or Report definition. Select if you want to categorize items within the dropdown list. |
Group by |
Displays when the List Source Type is Data page, Clipboard page or Report definition and you select the Group items checkbox. Press the down arrow to select the property by which you want to categorize items in the dropdown list. |
Groups displayed in |
Displays when the List Source Type is Data page, Clipboard page or Report definition and you select the Group items checkbox. Select the radio button next to how groups will be displayed in the dropdown list — either alphabetically in Ascending order or in Descending order. |
Load behavior |
Specifies when the dropdown list is loaded at runtime. Select one of the following options:
|
Harness and Section forms - Adding a dropdown control
|