Skip to main content
Participant
Jul 18, 2025 4:18 PM UTC
Question

Locking Specific fields and button after submitting be email

Hi i need users to submit a form to another department via email but on arrival the form in another department the form is still editable and the clear form button still functions. 

 

the save button and print button on my form are ok to still function i just do not want the department the form is set to;  to accidently clear the data or edit the data. Is this possible?

2 replies

JR Boulay
Community Expert
Community Expert
Jul 18, 2025 5:01 PM UTC

Go to the Field Properties and select: "Mark as read-only": "Just these fields":

 

Translate
Acrobate du PDF, InDesigner et Photoshopographe
PDF Automation Station
Community Expert
Community Expert
Jul 18, 2025 4:36 PM UTC

Use a script to set the fields to read only.

for(var i = 0; i < this.numFields; i++)
{
var fieldName = this.getNthFieldName(i);
var oFld=this.getField(fieldName);
if(oFld==null){continue}
oFld.readonly=true;
}
Translate