I'm using Adobe Acrobat Pro DC 21.001.20150 and I'm trying to create a form composed of 2 visible pages and a 3rd page which I converted in template and made it invisible.
On this 3rd page (invisible templete) I have a digital signature field which I have set as when "signed" to mark as read-only: All fields except these and I have selected a button which will be used to submit the form.
when checked to spawn a 3rd page based on the invisible template page
this.getField("FieldNameHere").readonly = true;
The jave script is comming from another article I have read here: