Previous Topic: Check BoxNext Topic: ca_pam_selectCheckBox(_id, isSelect)


ca_pam_isSelectedCheckBox(_id)

Determines whether a check box is selected (true) or a check box is cleared (false).

Input Parameters
_id (string)

Specifies the unique identifier of the Check Box field to evaluate.

Return Value
Value (boolean)

True if the check box is selected, false otherwise.

Example
ca_pam_isSelectedCheckBox('Form.ckbxInsBuy')

The ckbxInsBuy check box label is Purchase Insurance. This example code returns "true" when the Purchase Insurance check box is selected. The code returns "false" when the check box is cleared.

You can also find this function in the out-of-the-box content in CA Process Automation.

  1. On the Home page, click Browse Out-of-the-Box Content.
  2. Navigate to the User Interaction Forms folder, 02 Show and Hide Form Element: Show and Hide Form Element.