Skip to main content
jorgep37884552
Participant
Oct 14, 2016 3:58 PM UTC
Question

Lock document after signing

Hi everyone,

I found a javascript code here to signing in batch but it doesnt lock the file after signed and I need it.

Any idea?

Thanks in advance!

ps: sorry for my english

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Inspiring
Oct 16, 2016 3:34 AM UTC

What script are you using?

Translate
jorgep37884552
Participant
Oct 17, 2016 1:41 AM UTC

I'm using this script to lock every Field

for (var i = 0; i < this.numFields; i++) {

var fname = this.getNthFieldName(i);

this.getField(fname).readonly = true;

}

But I dont know if the result is the same that checkbox "lock after sign". Do you know?

Translate
Inspiring
Oct 17, 2016 5:04 AM UTC

No, it's not the same at all. The script simply sets the fields to read-only.

You can configure a digital signature field so that it locks the document when signed. That's what I'd recommend you do. If you need help with this, you'll need to provide more information on how you're signing the document in a batch operation.

Translate