Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Copy to Clipboard button

New Here ,
Apr 17, 2024 Apr 17, 2024

Hello!
I'm creating a pdf with instructions for users on how to insert our logo into their page. I have a text field containing HTML code that users need to copy to use on their page. I'm trying to create a 'Copy the code' button that, when clicked, will copy the HTML code to the user's clipboard. I've tried various scripts to achieve this, but none of them have worked. Is it even possible to do this?
Please help.

Thank you!

TOPICS
Create PDFs , Edit and convert PDFs , How to , JavaScript , PDF
654
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2024 Apr 17, 2024

No, not possible with a script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 17, 2024 Apr 17, 2024

scripting seems a good option. look at Select a field and copy to clipboard - Adobe Community - 11707929

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2024 Apr 17, 2024
LATEST

I tried that already.. Not working 😞 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines