Sets the value of a Text field.
Specifies the unique identifier of the field for which to set a specific value.
Defines the new value for the Text field.
None.
This example sets the top_vendors Text field to "I vote for vendor 3 because:"
ca_pam_setTextFieldValue('Form.top_vendors', 'I vote for vendor 3 because: ')
To continue this example, use ca_pam_getTextFieldValue('Form.top_vendors') after users enter their reasons to submit their full statements.
ca_pam_setTextFieldValue('Form.dynamic_field', ca_pam_getTextFieldValue('Form.top_vendors'))
This example returns the value of the top_vendors field and sets the dynamic_field to that value.
You can also find this function in the out-of-the-box content in CA Process Automation.
|
Copyright © 2013 CA.
All rights reserved.
|
|