The Cell Properties dialog for the Signature Capture control consists of the following tabs. It is also possible to create or modify CSS base styles for the control and create custom Accept/Clear buttons, as described in the subsequent sections, below. See also Adding a Signature Capture control.
Tab |
Description |
||||||||||||||||||||||
General |
Displays various configuration settings for how the Signature Capture control is displayed via the following fields:
|
||||||||||||||||||||||
Presentation |
Allows you to change the advanced presentation options via the following fields:
|
This control contains border, background and baseline styles. You can modify them via CSS by overriding the default values. The new style definition is added as a custom style sheet on the Additional CSS tab once you open the application skin - see Skin form - Included Styles tab, for more information. You can modify the following for the control:
An example of a custom style sheet for the Signature Capture control is shown below:
*****************************************
* Base styles for signature pad control *
*****************************************
.signature-da-style{
border: 3px solid #2DA2CF; /* border of signature capture control */
background-color: #FFFFE6; /* background color of signature canvas */
}
.signature-baseline-style{
border : 1px solid #2DA2CF; /*thickness and color of signature pad baseline */
}
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.
pega.ui.signature.acceptSignature
pega.ui.signature.clearSignature