Skip to main content
Participant
July 18, 2025
Question

Locking Specific fields and button after submitting be email

  • July 18, 2025
  • 2 replies
  • 140 views

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
July 18, 2025

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

 

Acrobate du PDF, InDesigner et Photoshopographe
PDF Automation Station
Community Expert
Community Expert
July 18, 2025

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;
}