Hello,
I have a live cycle form which needs to have all of the text fields set as read only after signing.
The java script has been placed in the post sign event of a digital signature field.
for(var i=0;i<this.numFields;i++) {
var cNm = this.getNthFieldName(i);
if (cNm.type = "text") this.getField(cNm).readonly = true;
}
After signing the form the following console error is shown:
this.getNthFieldName is not a function
Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
Any assistance will be most appreciated.
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
You don't need any JavaScript to do this.
In Designer you can setup the signature field in that way, that all fields will be locked after signing.
Look here:
Views
Replies
Total Likes
You don't need any JavaScript to do this.
In Designer you can setup the signature field in that way, that all fields will be locked after signing.
Look here:
Views
Replies
Total Likes
Thank you very much for your help.
I found "lock fields after signing" in the object pallete (for the signature field) and clicking on the signature tab.
Best regards
Jo
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies