Skip to main content
JarnoVeenstra
Participating Frequently
October 27, 2016
Question

Mark as read-only without digital signature

  • October 27, 2016
  • 3 replies
  • 1018 views

Hello,

I know you can mark fields in a form as read-only with the digital signature properties. 

Now i have a form where i must mark some fields as read-only, but i don't want to use the digital signature for that.

Is it possible to mark fields in a form as read-only without using the digital signature. Maybe a button?

Kind regards,

Jarno

This topic has been closed for replies.

3 replies

JarnoVeenstra
Participating Frequently
October 27, 2016

I have found a javascript:

this.getField("FieldNameHere").readonly = true;

It works for 1 field. Now i will try to add more then one field to the script (don't know how at the moment )

But i will try

Inspiring
October 27, 2016

You can use a script like the following to set all fields in the document to read-only:

for (var i = 0; i < numFields; i += 1) {

    getField(getNthFieldName(i)).readonly = true;

}

JarnoVeenstra
Participating Frequently
October 27, 2016

Thanks Bernd.

Then is that a option

one problem, person A doesn't have Adobe Pro (only the reader).

Bernd Alheit
Community Expert
October 27, 2016

You can also use JavaScript.

Bernd Alheit
Community Expert
October 27, 2016

Tools > Prepare Form

In the properties of the fields you can check "Read Only".

JarnoVeenstra
Participating Frequently
October 27, 2016

But then is it not possible to add some text to that field.

My form =>

Person A will add some text to the form and send it to person B.

Person B must sign the form. But i want that the information is read-only before sending to person B. (whitout a digital signature Person A). Is that possible?

Bernd Alheit
Community Expert
October 27, 2016

Check "Read Only" after adding the text.