Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Read-only Fields Become Unlocked When PDF is Re-Opened

Avatar

Level 2

I created a quote form which is has multiple buttons on it.  The buttons perform numerous actions such as adding/removing rows, adding/removing columns, etc.  There is a 'Finalize' button at the bottom of the form that locks all text fields and hides all buttons so that they cannot be edited by the customer when the quote is sent to them.

The problem occurs when the form is finalized, saved, then re-opened.  All of the buttons become visible again and text fields become editable when the PDF is reopened.  Is there a way to keep buttons hidden and text fields as read-only?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

The "state" of the form is not being saved automatically. Under the File/Form Properties/Defaults make sure that the "Preserve scripting changes to form when saved" radio button is set to automatically.

paul

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

The "state" of the form is not being saved automatically. Under the File/Form Properties/Defaults make sure that the "Preserve scripting changes to form when saved" radio button is set to automatically.

paul

Avatar

Level 10

Hi,

In the File > Form Properties menu opens the dialog window. Go to the Defaults tab and check that the "Save script changes" is set to 'Automatic'. This will make sure that changes to the form from script changes will be saved with the form and honored when the form is reopened.

Niall

...snap...

Avatar

Level 2

That did the trick.  Thanks to both of you...& thanks for the quick response.