Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Signature not capturing when default accept actions disabled

SA-37625

Summary



When disabling the default accept actions on a signature control, the signature is lost when completing the assignment.


Error Messages



Not Applicable


Steps to Reproduce



Disable default accept actions on Signature control.


Root Cause



If disabling the default actions, developer will need to configure an equivalent action on another element.

Resolution



Refer to the following PDN link:

https://pdn.pega.com/sites/pdn.pega.com/files/help_v72/procomhelpmain.htm#rule-/rulehtml-/common/commonlayoutsignaturecapturecustomize.htm

Following are the details.

USING CUSTOM ACCEPT/CLEAR BUTTONS

To add your own custom icons for the Accept and Clear actions in the Signature Capture control, leverage a click action with a JavaScript event. Follow the instructions presented below.

  1. Make sure the Hide default Accept/Clear actions option is selected in the options for the control.
  2. Add two icons, for instance, within a section containing the Signature Capture control - each representing the Accept and Clear actions.
  3. Open the Cell Properties dialog for each icon and add an action of the Run Script type.
  4. Enter the following JavaScript function name in double quotes, for the action representing the Accept icon:
    • pega.ui.signature.acceptSignature
  5. Enter the following JavaScript function name in double quotes, for the action representing the Clear icon:
    • pega.ui.signature.clearSignature
  6. Make sure that for each function two parameters are defined: signature name and category - to uniquely identify a Signature Capture control on a screen.

Published May 24, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us