JavaScript
{dialog.object}signatureIsEmpty Method
Syntax
{dialog.Object}.signatureIsEmpty(UXControlName [, length]);
Arguments
- UXControlName
ID of the Signature Control
- length
The "length" to compare the base64 encoded string to determine whether or not the signature is empty.
Description
Returns value indiciating whether or not the Signature control is empty.
Discussion
Returns true if a signature control is empty (has not been signed). The base64 encoded signature is compared against a 'length' parameter to determine if the control is empty.
If you do not pass in a length parameter, a default parameter value (appropriate for the type of browser you are using) is used.
Note that even if a signature control has not been signed, the base64 encoded value in the control is not be empty.
Example
var flagEmpty = {dialog.object}.signatureIsEmpty('signature1');