lyndag92842017
Community profile lyndag92842017 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 14-02-2016 10:22:36 AM
Offline
Top badges earned by lyndag92842017
Customize the badges you want to showcase on your profile
Re: Javascript to change fill color based on dropdown input
Avatar
Boost 1
Level 1
lyndag92842017
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
lyndag92842017
- Adobe LiveCycle
Well, I guess it's like I tell my daughter..."you're resourceful, you'll figure it out". I learned that javascript doesn't recognize the standard 0-255 color codes and that you have to divide the numbers...So my new script worked perfectly. I'm so proud of myself! . Now on to more challenges!color.new_blue = ["RGB", 0, 100/255, 200/255];color.new_green = ["RGB", 0, 176/255, 80/255]if (event.value=="Exceeds") event.target.fillColor = color.new_blue;else if (event.value=="Meets") event.target.fill...

Views

400

Like

1

Replies

0
Re: Javascript to change fill color based on dropdown input
Avatar
Boost 1
Level 1
lyndag92842017
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
lyndag92842017
- Adobe LiveCycle
I managed to return the default blue and green colors. Now, I just need to know how to define different shades of blue and green, the standard RGB codes don't appear to be working or is my syntax incorrect. I really need to get the form completed by tomorrow. I can live with the green shade, but the blue is too dark for the black text to show up well. Anybody??

Views

409

Likes

0

Replies

0
Javascript to change fill color based on dropdown input
Avatar
Boost 1
Level 1
lyndag92842017
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
lyndag92842017
- Adobe LiveCycle
First, let me start by saying that I am a 1,000,000% novice. I merely type my question in google and spend a ridiculous amount of time looking and praying for scripts that I can cut, paste and modify it see if they work. Most of the time, I have no idea how it works and I don't really care as long as it works. So, with that said, here's my issue. I have an Adobe Acrobat Pro XI form (NOT LiveCycle) that I created. I have dropdown fields with values of Exceeds (blue), Meets (green), Needs Improvem...

Views

1.1K

Likes

0

Replies

2
Likes from