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

Changeable icons in Editable PDFs

Explorer ,
Jul 04, 2017 Jul 04, 2017

Hello,

Hoping someone can help. I am creating editable PDF Place Cards with names, table numbers etc. Text is no problem. However, i also want the client to have the ability to edit the entree icon for their guests. For example icon of a cow for beef, icon of a fish for fish etc. I am just unsure how to achieve this with images. I use Acrobat XI. Clients edit with latest Adobe Reader.

Thank you! Karen

Karen

TOPICS
PDF forms
3.0K
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
1 ACCEPTED SOLUTION
Community Expert ,
Jul 05, 2017 Jul 05, 2017

The sample has 3 buttons with their own icon. You can see this in the form edit mode.

View solution in original post

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 ,
Jul 05, 2017 Jul 05, 2017

You can use form buttons with icons and show/hide the buttons.

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 ,
Jul 05, 2017 Jul 05, 2017

Practical made this for you: http://practicalpdf.com/actions-and-commands/


Acrobate du PDF, InDesigner et Photoshopographe
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
Explorer ,
Jul 05, 2017 Jul 05, 2017

Thank you for your reply, I will investigate this.

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
Adobe Employee ,
Jul 05, 2017 Jul 05, 2017

Dear Karen

You can add JS to the button form field to add functionality for your clients to select images/icons of their own choice.

To do so, please follow the steps below:

1. Goto Tools > Forms > Add a button field on the pdf. Right click > Properties Dialog

2. Goto Actions tab > Select "Run a Javascript" and add event.target.buttonImportIcon();

3. Click Ok and exit the form edit mode.

4. Now when you click on the button, you will see a browse dialog which will allow you to add images/icons of your choices.

Also, you rename the field and change the appearance of the button field via Appearance tab to make it look more like "upload an image" control than a greyed-button

Please note, You can only select images/icon and not edit the PDF in Adobe Reader.

I hope this help.

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
Explorer ,
Jul 05, 2017 Jul 05, 2017

Thanks so much for that Bhanvani. I was hoping to be able to provide a list of icons to the client - for instance,  for Fish icon to display, they simply type "F" into the button and that icon comes up. I would essentially provide a "Key' to the icons within the pack they purchase. Do you think that is possible? I have seen someone do something similar and it seems like such a user-friendly solution.

Best,

Karen

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 ,
Jul 05, 2017 Jul 05, 2017
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
Explorer ,
Jul 05, 2017 Jul 05, 2017

Hi Bernd,

That looks great. But I am just unsure how I would "attach" the icons to select from. That is the element I am struggling with

Best,

Karen

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
Explorer ,
Jul 05, 2017 Jul 05, 2017

Probably a more succinct way to explain is I can attach a single pdf icon but cannot attach a stream for the client to run through as per your example

Karen

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 ,
Jul 05, 2017 Jul 05, 2017

The sample has 3 buttons with their own icon. You can see this in the form edit mode.

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
Explorer ,
Jul 05, 2017 Jul 05, 2017

Got it!!!! Thank you!

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
Explorer ,
Jul 06, 2017 Jul 06, 2017

Hi Bernd,

I got it (pretty much!!!) Was able to copy and edit yours from the sample to my product (putting on transparent background and including blanks), all worked fine until I tried to add an extra icon Button 4 (Chicken). After closing form editing and saving as reader extended pdf, all is working perfectly except the chicken is not visible. I have been over and over but obviously missed a step?.  Have you any advice?

Best,

Karen

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 ,
Jul 06, 2017 Jul 06, 2017

In the properties of the buttons look under "Actions". The actions there shows the next button and hides the other buttons. You must add and change actions for extra buttons.

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
Explorer ,
Jul 06, 2017 Jul 06, 2017

Thank you! That was the missing link!

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
Explorer ,
Jul 09, 2017 Jul 09, 2017

Hi Bernd,

I am going a few steps further now and trying to make things a little easier when I have 20 plus buttons on top of one another. I found that I couldn't figure what was what. So instead, thought writing javascript would help after referring to other posts. I have called each button A, B, C etc.

This is what I have added as JavaScript in Actions to no avail (each being relevant to the correct button in the order) This being on button A. In this example I only have A, B, C,  D. Not sure where I have gone wrong.

Not sure where I have gone wrong.

// Show all of the B fields

getField("B").display = display.visible;

// Hide all of the A,C,D fields

getField("A,C,D").display = display.hidden;

event.target.buttonImportIcon();

Best,

Karen

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
Explorer ,
Jul 09, 2017 Jul 09, 2017

Dear Bernd,

Apologies, I have answered my own question and it was quite simple

this.getField("A").display = display.hidden;

this.getField("C").display = display.hidden;

this.getField("D").display = display.hidden;

this.getField("B").display = display.visible;

Thanks so much for your assistance!

Karen

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 ,
Mar 13, 2020 Mar 13, 2020

Hi!
I'm currently struggling with a similar problem - I assume that you don't have the file anymore, since two years have passed, but could you kindly remind me what are the steps to follow to get what Karen needed? I'm trying out the JS script that Bhavna recommended but I can't make it work.

 

Best,

Kamila

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 ,
Mar 13, 2020 Mar 13, 2020
LATEST

One sample:

Sample 

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