Script to complete date field and deactivate form
hi all,
with little experience of adobe have been tasked create set of pdf forms use within company. have designed forms using pro require digital signature field complete seperate date field upon signing , deactivate fields within form. @ moment can either 1 or other cannot both.
is there script can use carry out these functions?
thanks,
kc
as saw, there's option under signed tab execute script when digital signature applied.
to described following code can used (of course, you'll need adjust field name):
this.getfield("signaturetime").value = util.printd("mm/dd/yyyy", new date()); // populate date field current date
this.getfield("text1").readonly = true; // set fields read-only
this.getfield("text2").readonly = true;
this.getfield("text3").readonly = true;
this.getfield("text4").readonly = true;
etc.
More discussions in JavaScript
adobe
Comments
Post a Comment