Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Button Help

Avatar

Former Community Member
I am using LiveCycle Designer ES 8.2 and Acrobat 9 pro extended and got a question.



I want to create a button. When you click on the button the background should turn into blue and the name allrounder should shine up in grey.

When you click on to the button again, the background and allrounder should disappear.



I use a normal PDF and create it in Acrobat and LiveCycleDesigner.



Can somebody helb me?



Thank you.
3 Replies

Avatar

Former Community Member
Hi,

If you want to change color for the button, you can use something like this:

Button1.fillColor.rawValue = 0.145.145

Button1.fontColor.rawValue = 0.0.0



If you want to change color for the page called test:

test.fillColor.rawValue = 0.145.145



Just change color number to the colors you want.

Avatar

Former Community Member
Where do I have to write that? On to the button?

Avatar

Former Community Member
Yes, click on the button and go to the script panel. Use javascript, and try with the click event.