I have used the readonly method to do this myself. It makes the other signature field(s) readonly so that a signature cannot be affixed.
//Put on Signature1 field. If signature field 1 is signed, then signature field 2 is readonly. var sig1 = this.getField("Signature1") var sig2 = this.getField("Signature2") if(this.value != "") { sig2.readonly = true }
Locking fields is different and I am still learning that.
Thank you for your post. I just hide all unsigned signature fields when the final signature is placed. I have tried making these fields "protected" or "ReadOnly", but they are still accessable in Acrobat 8. I guess we are using different versions...
//Put on Signature1 field. If signature field 1 is signed, then signature field 2 is readonly.
var sig1 = this.getField("Signature1")
var sig2 = this.getField("Signature2")
if(this.value != "")
{
sig2.readonly = true
}
Locking fields is different and I am still learning that.