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
BedrockMission!

Learn More

View all

Sign in to view all badges

Replies

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

19-12-2008

Ok, so I do that and still nothing happens, and there aren't any errors this time either...

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

22-12-2008

Thank you S. Bishop for all your help, but I cannot get your method to work, nor am I exactly sure what I'm supposed to see...



Now my employer wants me to not make these fields required anymore because "it isn't appealing to the eye and thus doesn't meet the professional image we want to convey to our agents". Meaning, the hours and hours I spent on coding to make the fields required and not required based on values, etc. is all for none because of this new way Adobe displays required fields.

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

22-12-2008

Below was the answer to the original problem although I would just do:

app.runtimeHighlight = false;



------------

Thomas McConnachie - 12:26am Dec 19, 08 PST (#9 of 21)



if (app.runtimeHighlight == true)

{

app.runtimeHighlight = false;

}



I have this in my root form initialisation. Just turns off highlighting, including shading the fields with the blue fill.



Regards,



Tom

---------------



My code was as an example to do your own border highlighting. Looking back now, I don't see it, but thought someone had asked how to change them manually. You could use similar code to change the back ground color. I am now thinking it may not do anything because it makes the borders red and they are already red for you.



This will set the background color of just the data area of a test field or most other data fields for that matter. It sets it to gray. The 200,200,200 are RGB values.

this.ui.oneOfChild.border.fill.color.value = "200,200,200";

Avatar

22-12-2008

Heather,



You probably have already thought of this, but as a temporary workaround that I did was to separate the caption from the input field (that is, make it two fields instead of one). Then it looks a little better unless you specified a margin in the Layout tab, then you'll see two red boxes around the input field!!



Scott

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

23-12-2008

S. Bishop,



I figured out why I couldn't get the code

>this.ui.oneOfChild.border.fill.color.value = "200,200,200";



to work before and it's because I have my field's Appearance set to None so I don't have any borders around the entry area. If I choose Custom and set the borders to none, then I can use your script to change the fillable area. I might need this to work around my problem. Thank you!



Scott,



Actually, I didn't think of that. I will propose this as an option and see what they think. Although, it will take me a while since I will need to reconstruct my form. You see, it's a dynamic form with multiple flowing subforms that has about 80-120 fields on each page and it's 4 pages long. But if it will make my employer happy, I'm willing to tackle this beast. Thank you for your help.



Heather

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

23-12-2008

Ok so now they figured they'd keep the required fields, but they want the highlighting turned off...and only come back on when the form is submitted. But how do I restrict the user from turning it back on themselves? Can I remove the Highlight Fields button? I tried setting the app.runtimeHighlight = false on the Layout:ready event so everytime the user clicked the button the highlighting would go back to false, but I guess clicking the Highlight Fields button doesn't trigger an event?

Avatar

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas_McConnac
Level 4

05-01-2009

Its not changing the form itself, only the application, so I don't think it would.

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

05-01-2009

Yeah, but that's where you're splittin' hairs...because it's changing the form visually, and to me, that would be/should be an event.

Avatar

05-01-2009

Hi. I tried to reproduce this problem and I don't see the captions being hilighted. Could someone please post an example form someplace (maybe share.adobe.com) so I can look into the problem.

Avatar

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
web_wolf
Level 2

Like

1 like

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
web_wolf
Level 2

05-01-2009

There's an image above in message #7. Click the link, "View All Messages" if you don't see it.