Skip to main content
Kathy5FFA
Inspiring
February 22, 2024
Question

Retain Button States in Saved PDF

  • February 22, 2024
  • 1 reply
  • 477 views

Hello. I have an interactive pdf that includes buttons. When a grey button is clicked, it changes to a blue button to show it is selected. When the pdf is closed and then opened again, even after saving, the buttons go back to their original states of grey. Is there a way to save the clicked states of the buttons so that when the user opens the pdf again, it shows what they have selected? Thank you!

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
February 22, 2024

By default, no. You'd need to add JavaScript to store the button states.

Kathy5FFA
Kathy5FFAAuthor
Inspiring
February 22, 2024

Thank you. Can any one provide the JavaScript that would accomplish this? That would be much appreciated.

Joel Geraci
Community Expert
Community Expert
February 22, 2024

I'd need the PDF in question to make it work. There is no "standard" way to do it.