Skip to main content
Participating Frequently
February 11, 2022
Answered

Dots in textfields in protected PDF form with signature fields

  • February 11, 2022
  • 1 reply
  • 5076 views

I have a PDF template that is pre-filled from a database using iText.

Is is password protected, but it remains fillable.

Since I inserted signature fields, Acrobat shows dots (like in a password field) in the text fields. Clicking shows the text, when changing something the text remains visible in this field.

I thnik this is some feature to help the signing person not to forget any field, but in my context this is disturbing. Is there any preference in Acrobat I may change?

Thank you in advance, Elke

This topic has been closed for replies.
Correct answer MikelKlink

If I understand you correctly, you start with without_signature_fields.pdf, use Adobe Acrobat to add signature fields, and get with_signature_fields.pdf as result.

In that case Adobe Acrobat as side effect does some changes in the pre-fabricated appearances of the existing text fields, probably meant for optimization, not changing the visual outcome. These changes aren't wrong per se, and other PDF viewers I have quickly available (Foxit, Chrome) still correctly display the text contents.

Apparently, though, Adobe Acrobat outsmarted itself with these changes, probably because those changes make the pre-fabricated appearances not match the default appearance template string anymore, probably because of some other reason. Whatever the reason, Adobe Acrobat does not use the (changed) appearance from within the document to display the text fields but instead something else (probably mangling the default appearance template and the not matching appearance somehow) which fails.

 

One possible work-around: You say you already use iText to fill the PDF. You could use iText to also create the signature fields at the same time. There is no reason to assume that iText would have the same side effect on text field appearances.

(And iText can also do the encryption...)

1 reply

MikelKlink
Participating Frequently
February 11, 2022

Please share an example PDF, both before and after inserting signature fields.

(This sounds a bit like a font issue.)

Participating Frequently
February 12, 2022

Dear MikelKlink

Thank you for your fast response.

Meanwhile I see a bit better what happens:

as soon as  Signature fields are in the pdf Acrobat marks automatically all fields, which leads to the dotted representation.

One can go to Bearbeiten>Formularoptionen and remove the tick at "Vorhandene Felder markieren", then the text appears.

This seems to be saved as Preference in Acrobat (not in the pdf ...) so that following PDFs with signature fields show the text.

In case the document does not contain signature fields, the text is readable.

My Template is made in Open Office (as here, in opposite to MS Word, the names of the  text fields can be defined in the template), and the fonts are embedded. Also, the option in Acrobat for the use of local fonts makes no difference for this issue.

The template is filled using Itext and then gets password protection, fields remain fillable but text canno be edited (so that user cannot insert signature field. My client would like to have protected text and at the same time give the choice to the signing people to sign electronically. We could have a solution with the signature fields and use skribble, bot the dots are very disturbing and the option to show the text is not at all intuitive.

I upload here both versions of a sample template (I changd the text in the OO doc): one with the same pdf template without signature fields, one with signature fields added in Acrobat (as this is not provided in OO).

I guess that this is a design issue in Acrobat which cannot be solved, but perhaps I am wrong and you have some idea about what I missed.

Thank you very much in advance, best, Elke

MikelKlink
MikelKlinkCorrect answer
Participating Frequently
February 14, 2022

If I understand you correctly, you start with without_signature_fields.pdf, use Adobe Acrobat to add signature fields, and get with_signature_fields.pdf as result.

In that case Adobe Acrobat as side effect does some changes in the pre-fabricated appearances of the existing text fields, probably meant for optimization, not changing the visual outcome. These changes aren't wrong per se, and other PDF viewers I have quickly available (Foxit, Chrome) still correctly display the text contents.

Apparently, though, Adobe Acrobat outsmarted itself with these changes, probably because those changes make the pre-fabricated appearances not match the default appearance template string anymore, probably because of some other reason. Whatever the reason, Adobe Acrobat does not use the (changed) appearance from within the document to display the text fields but instead something else (probably mangling the default appearance template and the not matching appearance somehow) which fails.

 

One possible work-around: You say you already use iText to fill the PDF. You could use iText to also create the signature fields at the same time. There is no reason to assume that iText would have the same side effect on text field appearances.

(And iText can also do the encryption...)