Skip to main content
JarnoVeenstra
Participating Frequently
Oct 27, 2016 8:32 AM UTC
Question

Mark as read-only without digital signature

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

JarnoVeenstra
Participating Frequently
Oct 27, 2016 10:39 AM UTC

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

Translate
Inspiring
Oct 27, 2016 5:51 PM UTC

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;

}

Translate
JarnoVeenstra
Participating Frequently
Oct 27, 2016 10:30 AM UTC

Thanks Bernd.

Then is that a option

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

Translate
Bernd Alheit
Community Expert
Community Expert
Oct 27, 2016 10:44 AM UTC

You can also use JavaScript.

Translate
Bernd Alheit
Community Expert
Community Expert
Oct 27, 2016 9:52 AM UTC

Tools > Prepare Form

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

Translate
JarnoVeenstra
Participating Frequently
Oct 27, 2016 10:19 AM UTC

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?

Translate
Bernd Alheit
Community Expert
Community Expert
Oct 27, 2016 10:25 AM UTC

Check "Read Only" after adding the text.

Translate