Harness, Section,
and Flow Action forms
|
A cell in a layout can present the value of a property, as
display-only or as an input field. Follow these instructions to
control the presentation of a property value as a
Date
or DateTime
value.
1. Drag and drop the Calendar control
Click the down-arrow () at the right end of the Basic control group () and select the Calendar control (). Drag the control to the cell or header that is to contain the property value. When the pointer changes shape to indicate that a single cell is selected, release the mouse button to drop the control.
If the cell is not empty, the dropped control replaces the current contents of the cell.
2. Complete the Cell Properties panel — Top fields
Click the magnifying glass () icon to display the Cell Properties panel .
Your updates to this panel can update the rule form immediately or upon clicking Apply, depending on the Property Panel settings in your Edit preferences. See Setting preferences. If the panel is pinned(), the wireframe on the rule form changes immediately to reflect your inputs. If the panel is not pinned(), click Apply to apply your inputs.
Complete the top fields of the Cell Properties panel.
Field |
Description |
||||||||||
(Appears only when this field is in a section included within the current open rule.) Click to open the section that immediately contains the field. |
|||||||||||
Property |
Select or type a property reference that
identifies a single text value and has a Property Type of Alternatively, you can drag a property name from the
lists of properties visible in the Application
Explorer. Typically, this works for Click the pencil icon () to review the property rule (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 Section rules — Completing the Parameter tab. |
||||||||||
Display As |
To represent the property as a date and time with a pop-up calendar, keep the value DateTime-Calendar. Click the magnifying glass icon ()to supply parameter values for this HTML property rule. All parameters are optional.
Click OK to save parameter values. If this DateTime property is within a section that itself has parameters (defined on the Parameters tab of the Section form), you can reference a section parameter to supply an HTML Property parameter value, with the normal notation PARAM.Name. |
||||||||||
Behavior |
Optional. Leave blank if no dynamic form actions to other parts of the form are to occur based on user updates or values for this field. To establish a dynamic form action, click the
magnifying glass icon () to open the
Client Event Editor in a new dialog window. Complete
the Client Event Editor to select an event
( Click the help icon ( ) on the Client Event Editor for assistance. For general information on this capability, see Implementing dynamic form actions and the Client Event Editor. Client event support is not available for harness, section, or flow action rules that use directives. |
3. Complete the Cell properties panel — General tab
Complete the General tab.
The General tab for a DateTime
field identical to the General tab for an Input box. See Adding an Input Box — Complete the Cell Properties Panel — General tab.
4. Complete the Cell properties panel — Advanced tab
Complete the Advanced tab.
The Advanced tab for a DateTime
field is identical to the Advanced tab for an Input box. See Adding an Input Box — Complete the Cell Properties Panel — Advanced tab.
Copying, deleting, duplicating, or moving a Calendar field
SHIFT
key, select the cell, drag and
drop it in another cell, in the same one layout or another
layout.