Expand my Community achievements bar.

Locking "input"-fields

Avatar

Former Community Member

Hi all,

Intake

I generate pdfs like it's supposed to be generated. Only one issue is remaining. I can edit the data, which should not be possible in the first place.

Problem

The pdf is generated using XML data, like prices etc, when the pdf is generated all text-fields can be modified, selecting the field and pressing delete or backspace.

Reasoning

I've read in another post in these discussions that it's possible to save these PDFs if you have some licenses installed. Because I generate financial documents I obviously do NOT want the end-user to be able and edit the prices or even modify them by 0.01 eurocents.

What I already tried doing

I tried putting all text-fields with a value of "read-only" but this doesn't seem to do the job.

Solution

none so far

Thanks for all help following on this issue.

3 Replies

Avatar

Former Community Member

Intake

I generate pdfs like it's supposed to be generated.

How exactly did you generate the PDF?

Reasoning

I've read in another post in these discussions that it's possible to save these PDFs if you have some licenses installed. Because I generate financial documents I obviously do NOT want the end-user to be able and edit the prices or even modify them by 0.01 eurocents

It IS possible to save an interactive PDF form in Acrobat. If you open an interactive PDF form in Reader, you cannot fill and save the form locally unless the PDF has been rights-enabled by LiveCycle Reader Extensions ES.

What I already tried doing

I tried putting all text-fields with a value of "read-only" but this doesn't seem to do the job.

If you look at the XML Source, for any one of the text fields is there an attribute 'access="readOnly"' on the field node?

Avatar

Former Community Member

How exactly did you generate the PDF?

2ways:

  1. my own way I programmed a servlet which contacts the liveCycle dataSource which combines the xdp & xml data to create a temp PDF.
  2. through a process in Workbench ES, using watched folders for XML files

Both work perfectly and generate fully working PDF files as expected.

If you look at the XML Source, for any one of the text fields is there an attribute 'access="readOnly"' on the field node?

Yes.

Simplification of what my goal is:

I just don't want to be able to select a textField* and be able to press backspace, resulting in a modification of the data. I want ALL data which the end-user is able to see to be NON-modifyable at all. Even if saving is impossible, I still don't want the end-user to be able and change it's values.

* In designer its a textfield, obviously I'm talking about selecting it in the acrobat reader.

I uploaded an example of a generated PDF, try selecting and deleting the total-price in acrobat reader & you know exactly what I mean by modification

Avatar

Former Community Member

Please forward the form to stwalker.adobe@gmail.com.