Here’s my scenario: The user needs to enter data and make dropdown choices on the first page of the form (user entry point) and get back a flattened PDF showing the appropriate output based on their choices (the first page is hidden while the 2nd or 3rd pages are revealed). In addition, there are three subforms on the second page, any of which may need to be visible depending on a selection from a dropdown list.
When testing on the client side the output is correct: two pages are hidden and a subform is hidden and made visible based on a the customers selection; the user entry point is hidden, and the correct pages and correct subform are visible. (works fine)
However, when the form is submitted to the server-side process for flattening it does not return the anticipated output. It flattens and shows the initial input screen which should be hidden; when it should show the page 2 or page 3 choices. It’s as if the changes or choices made by the user are not recognized at this point.
Can you tell me what’s missing in this code or what I have set up incorrectly?