Previous Topic: Text AreaNext Topic: ca_pam_setTextFieldValue(_id, val)


ca_pam_getTextFieldValue(_id)

Returns a value from a Text field.

Input Parameters
_id (string)

Specifies the unique identifier of a Text field.

Return Value

Value from the Text field (string).

Example

This example returns the value of the top_vendors Text field.

ca_pam_getTextFieldValue('Form.top_vendors')

This example returns the value of the top_vendors Text field and sets the dynamic_field Text field to the returned value.

ca_pam_setTextFieldValue('Form.dynamic_field', ca_pam_getTextFieldValue('Form.top_vendors'))

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 folders, then:
    • 07 Populate Table RESTful WS: Populate Table RESTful WS.
    • 08 Populate Table SOAP WS: Populate Table SOAP WS.