|
![]() |
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 in an Input Box. PROJ-649 5.4
1. Drag and
drop the Input Box control
Click the down-arrow () at the right end of the Basic
control group (
) and select the Input Box
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 open the Cell Properties panel.
Complete the top fields that appear.
If the panel is pinned (), the wireframe presentation on the rule form
changes immediately to reflect of your inputs. If the panel is not
pinned (
), click Apply to apply your inputs. GRP-229
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 |
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 ( 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. Proj-1424 |
Control |
If you leave this blank, the form uses HTML property rule identified in the property rule. (If no HTML Property rule is referenced in the property rule, the HTML property rule named Default is used.) Click the magnifying glass icon ( Click the pencil icon ( Parameterized HTML Property rulesWhen feasible, use a parameterized HTML property rule for runtime efficiency and economy. See Atlas — Standard HTML Property rules accepting parameters. C-2413 Click the magnifying glass icon ( If this input box 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. PROJ-1424 Width determined by Expected Characters LengthSome properties represented by an Input Box
control have an Expected Length (in characters)
defined on the Advanced tab of
the Property form. Enter the special value The Specific formatsThese standard HTML Property rules provide specific capabilities:
|
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. C-1990 To establish a dynamic form action, click the magnifying
glass icon ( Click the help icon ( 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.
Field |
Description |
Visible: |
Select to determine when the property value is to appear. (If this setting is not applicable, the cell contents are blank.)
|
Condition |
.Color =="Blue" .Phone !="0" (.Phone!="0")&&(.StateCode=="MA"||.StateCode=="VA"))
|
Run on Client |
This field appears only if you select Select to indicate that the Condition field contains one more property comparison tests that will be evaluated on the user workstation in response to a client event. See Implementing dynamic form actions and the Client Event Editor. C-1990 Clear to indicate that the Condition field contains a when condition rule name or an expression to be evaluated once upon initial display of the form. |
Required |
This box appears only for fields in cells on flow action rules and section rules. 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.
For section rules, 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. C-1197
|
Wrap Text |
Select if the text in the cell is to be presented as multiple lines when the text is longer than the cell width. If the box is not selected, the text visible in the cell may appear truncated at runtime. R-19668 |
Read-Only |
Select to cause the property value to be presented in read-only mode always, or based on a when condition rule or client-side test, even when the enclosing layout is in read-write mode. PROJ-283 Complete the next field to modify the effect of this checkbox. |
Condition |
This field appears only when you select the Read Only checkbox. |
4. Complete the Cell properties panel —
Advanced tab
Complete the Advanced tab to control the presentation and visibility of the field.
Field |
Description |
Width |
Optional. Enter a positive number for the width in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed width.) This field appears only when the cell is not controlled by SmartLayout column restrictions. In that case, you can also adjust the width this column directly:
|
Height |
Optional. Enter a positive number for the height in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed height.) This field appears only when all columns in the Layout are
not controlled by SmartLayout column restrictions (that is,
all columns have the
|
Default Value |
Click the magnifying glass icon (
|
Read-Write Style |
The SmartPrompt list shows all styles that start with the
word Click the pencil icon ( |
Read-Only Style |
The SmartPrompt list shows all styles that start with the
word Click the pencil icon ( |
Inline Style |
To apply inline styling to this cell only, type a CSS style definition in this field, or click the magnifying glass to access a Style Editor window. Styles you enter in this field supplement and override style elements defined in style sheets, according to normal CSS rules. Inline styles are recorded in the generated HTML for the form; they do not alter the CSS definitions. Using the Style EditorYou can select the font, color, font size, text align, vertical align PROJ 242 – TASK 16156, borders, margins, and other attributes of this cell using selection lists. The Style Editor maintains a preview of the resulting presentation. If you alter the style definition directly, click Apply to update the preview. Click OK to record the style defined with the Style Editor in the panel. |
Use Heading Styles |
Select to change the cell HTML element from <TD> to <TH>, with a resulting style change. |
Copying,
deleting, duplicating, or moving an Input Box
SHIFT
key, select the cell, drag and drop it in
another cell, in the same one layout or another layout.
PROJ-198 RULE-298