on 01-12-2009 3:02 AM
Hi,
How can I control that only the signer can clear the digital signature & how can we determine if signature is blank... ?
Thanks...
Edited by: Marc Ng on Jan 12, 2009 8:33 AM
Hi Marc,
You can use Sign and Lock field available in WD Native controls in library. This fiels contains following script:
var oSOM = this.somExpression; // Returns the full SOM expression i.e. xfa[0].form[0].form1[0]...
var truncSOM = oSOM.substring(15); // Truncating 'xfa[0].form[0]' from SOM to get acroforms name of the field.
var oState = event.target.getField(truncSOM).signatureValidate(); // Get the current field's signed state.
If oState is 4 means Sign. field has been signed. 0 indicates field is empty.
Second point, I am also searching solution for this. If you find anything please let me know.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot use these var from calling programs. One way can be, you create a variable, and then set this variables value according to the value of the oState.
For your second issue, hve you tried to disable the Sign field after signing. This will not allow user to clear the Sign value. Please check it and let me know also.
Regards,
Amit
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.