Back Forward Harness, Section, and Flow Action forms
Adding a Radio Button group

About Harness rules

  Show all 

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 group of radio buttons. PROJ-649 5.4

  1. Drag and drop the Radio Button group control

Click the down-arrow (Arrow) at the right end of the Basic control group (Basics) and select the Radio Button group control (Radio Button). 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. Click the magnifying glass (Magnifying glass) to display the Cell Properties panel.

  2. Complete the Cell Properties panel — Top Fields

Complete the top fields of the Cell Properties panel. GRP-229

If the panel is pinned (Pinned), the wireframe presentation on the rule form changes immediately to reflect of your inputs. If the panel is not pinned (not pinned), click Apply to apply your inputs.

Field

Description

Pencil

(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

SmartPromptSelect or type a property reference that identifies a single text value and has a Table Type other than None. SR-4597 B-22011 Single Value only? (If you are only prototyping a form and the property you want to reference is not yet defined, use the template property .pyTemplateRadioButtons, which presents two choices Yes and No.)

Alternatively, you can drag a property name from the lists of properties visible in the Application Explorer. Typically, this works for Single Value properties belonging to in the Applies to class of the current rule (or a higher class). If the container in which this field sits has a non-blank Using Page value, you can drag a Single Value property from within that embedded page property. B-16325 Rejected

Click the pencil icon (Pencil) 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. Proj-1424

Control

To represent the property as a set of radio buttons, keep the value RadioButtons. Click the magnifying glass icon (Magnifying glass) to supply parameter values for this control rule. All parameters are optional.

Parameter

Description

ReadOnlySmartInfo Optional. Identify the Purpose key part of a section to present as a SmartInfo pop-up for this control when the field is read-only.
ReadWriteSmartInfo Optional. Identify Purpose key part of a section to present as a SmartInfo pop-up for this control when the field is read-only.
SmartInfoHeader Optional. Enter text to appear in a SmartInfo header.

Click OK to save parameter values.

If this radio button group 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 a control parameter value, with the normal notation PARAM.Name. PROJ-1424

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 (Magnifying glass) to open the Client Event Editor in a new dialog window. Complete the Client Event Editor to select an event (OnBlur, OnChange, or OnClick) and the resulting form action. C-2526

Click the help icon ( Help) 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 radio button group is identical to the General tab for a Text Input control. See Completing the Layout tab — Adding a Text Input control — General tab.

  4. Complete the Cell properties panel — Advanced tab

Complete the Advanced tab.

The Advanced tab for a radio button group is identical to the Advanced tab for a Text Input control. See Completing the Layout tab —a Text Input control — Advanced tab.

  Copying, deleting, duplicating, or moving a radio button group

TipUse these Windows operations to speed development:

Up About Flow Action rules

Up About Harness rules

Up About Section rules