Highlighted

Interactive buttons on indesign, how to change appearance

Community Beginner ,
Jan 26, 2018

Copy link to clipboard

Copied

Hello,

Could someone please help me:)? I do hope this makes sense.

I am trying to make an interactive PDF questionnaire on indesign.

I want to make a "YES" and "NO" option for the answer that is a shape I have designed and when you click on it, it changes the colour of the button and stays that colour so that when the form is submitted I can see the answer selected.

I have made the objects into buttons but I can't work out how to make the colour change permanent when selected? I don't mean just the appearance when just rolled over or clicked on.

I would rather not use radio buttons that are given as an option as I don't like the look of them for this particular questionnaire.

Thank you.

You're absolutely right Vivien! Click state only applies on click and does not remain on mouse release.

Here's my suggested workaround:

You can duplicate your buttons, and apply a "show/hide buttons" action to the "trigger" buttons.

Make sure "hidden until triggered" is checked for the buttons you want to show after clicking.

If you have loads of buttons on your page/spread, I'd advice to rename buttons with names that really make sense (not "button 1", "button 2", ...)

See example below (in french^^): using layers as an option.

yesorno.gif

Views

5.3K

Likes

Translate

Translate

Report

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

Interactive buttons on indesign, how to change appearance

Community Beginner ,
Jan 26, 2018

Copy link to clipboard

Copied

Hello,

Could someone please help me:)? I do hope this makes sense.

I am trying to make an interactive PDF questionnaire on indesign.

I want to make a "YES" and "NO" option for the answer that is a shape I have designed and when you click on it, it changes the colour of the button and stays that colour so that when the form is submitted I can see the answer selected.

I have made the objects into buttons but I can't work out how to make the colour change permanent when selected? I don't mean just the appearance when just rolled over or clicked on.

I would rather not use radio buttons that are given as an option as I don't like the look of them for this particular questionnaire.

Thank you.

You're absolutely right Vivien! Click state only applies on click and does not remain on mouse release.

Here's my suggested workaround:

You can duplicate your buttons, and apply a "show/hide buttons" action to the "trigger" buttons.

Make sure "hidden until triggered" is checked for the buttons you want to show after clicking.

If you have loads of buttons on your page/spread, I'd advice to rename buttons with names that really make sense (not "button 1", "button 2", ...)

See example below (in french^^): using layers as an option.

yesorno.gif

Views

5.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 26, 2018 2
Adobe Community Professional ,
Jan 26, 2018

Copy link to clipboard

Copied

you need to use the button panel, the appearance section. you click each state, and than just change the color. it will remember that color for each effect.

look at these screenshots:

Screen Shot 2018-01-26 at 10.46.35 AM.png

Screen Shot 2018-01-26 at 10.46.48 AM.png

Screen Shot 2018-01-26 at 10.46.55 AM.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 26, 2018 1
Adobe Community Professional ,
Jan 26, 2018

Copy link to clipboard

Copied

I believe however you'll run into a problem with your "shape" requirement. Since you're limited by PDF which has been around a long time and will not change, the active area of a button must be rectangular.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 26, 2018 2
Community Beginner ,
Jan 27, 2018

Copy link to clipboard

Copied

Thank you for your help, I did try this originally but the colour change did not stay in the clicked form, it would change colour and then went back to the original colour when click was released. I will try again now:).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 27, 2018 0
Guide ,
Jan 29, 2018

Copy link to clipboard

Copied

You're absolutely right Vivien! Click state only applies on click and does not remain on mouse release.

Here's my suggested workaround:

You can duplicate your buttons, and apply a "show/hide buttons" action to the "trigger" buttons.

Make sure "hidden until triggered" is checked for the buttons you want to show after clicking.

If you have loads of buttons on your page/spread, I'd advice to rename buttons with names that really make sense (not "button 1", "button 2", ...)

See example below (in french^^): using layers as an option.

yesorno.gif

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 29, 2018 2
Community Beginner ,
Feb 21, 2018

Copy link to clipboard

Copied

Thank you very much , this was the solution

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 21, 2018 1
New Here ,
Feb 04, 2020

Copy link to clipboard

Copied

Thanks! But how to return back if person changed his mind and want to unclick it? 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 04, 2020 0
Most Valuable Participant ,
Feb 04, 2020

Copy link to clipboard

Copied

You're way overthinking something that very, very dependent on the application being used to view the PDF.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 04, 2020 0
New Here ,
Mar 13, 2020

Copy link to clipboard

Copied

Hi, i want to ask if it can function as a radio button? like after clicking, it will retain even tho after closing and saving the file. 

 

Thank you

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2020 0
Contributor ,
Apr 29, 2020

Copy link to clipboard

Copied

What I do instead of having to duplicate the button and have to add extra interactivity or scripting in Acrobat is to simply make the artwork a checkbox.

I then delete the checkbox graphic InDesign creates, and it can be whatever I want.

Disclaimer: with this method is if highlight fields are on in the user's pdf reader application the graphics won't appear and will show a blue box with a checkbox. Turning that off (which I do anyway) solves that issue.

Other issues may be form processing. It's all about how the document is used. If it's a traditional form that needs to be processed server-side, etc., making it a checkbox may cause issues. If it's a standalone pdf and you only need graphical representation, there shouldn't be a problem. I've done this on dozens of interactive, fillable pdf's. Sometimes I use a checkbox just to make an interactive element read-only by default as you're not able to set that property on a button in InDesign—but you can in Acrobat. I think form development in InDesign is great but needs a lot more development.

If you script in AcroForms, you may experience issues with the graphics disappearing under certain conditions. With that said, I know this and proceed anyway and rarely have an issue. I've learned some of the tasks that cause it and don't do that. For example, exporting and importing data would have adverse effects on the graphics.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 29, 2020 0
Most Valuable Participant ,
Apr 29, 2020

Copy link to clipboard

Copied

That's all very clever and creative but unfortunately most users cannot control the reader app or settings the user is going to use.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 29, 2020 0