I have Livecycle ES4 and an interactive form with user rights and a bunch of rules, which change some fields states, depending of users actions with other fields. I have to make this form (after it was filled, so with all the changes) flat.
I've tried to user OutputService transformPDF operation.
But as a result i recieve a flat form with inital state.
For example. I have a form with three fields (two images and one text field). One image and text field are visible initialy and one image is invisible initialy. When user types something on text field, the another one image changes it's state to visible. It is done with such code:
Also, this form is enriched with a user right to save it with its state.
1. So, initially my form looks like this (only one image and text field are visible):
2. Then I enter some text, another image becomes visible, and i save the form (the red one stamp is visible after reopening this saved form).
3. Then i send it to the convertation via transformPDF operation and as a result i recieve a form only with two visible fields:
So, what am I doing wrong?
Here is my whole process. The first one step is for removing user rights, as without this step i recieve error, which say that only forms with no user rights can be converted. The second 4 steps in gateway - are differen variants of using transformPDP with diff. settings.
Here is an example of one of the convertation steps: