Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

service_commun1
service_commun1
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by service_commun1
Customize the badges you want to showcase on your profile
Re: Change fillcolor if there's a value (javascript/pdf/acrobat) - Adobe LiveCycle 21-03-2017
I would place the javascript in the exit event.This code will colour the whole field (including caption) if when exited the field is not empty. If it becomes empty again, the colour returns to white. If you dont want to colour the caption as well, set the field to have no caption and just add a text object next to it.TextField1:exit (Javascript)if(this.rawValue != null){this.border.fill.color.value = "150, 150, 150"; //RGB colour grey}else{this.border.fill.color.value = "255, 255, 255"; //RGB co...

Views

1.1K

Likes

0

Replies

0