Expand my Community achievements bar.

SOLVED

Change caption font on click

Avatar

Level 1

Hi all,

I'm new to Adobe LiveCycle and trying to do something that sounds like it should be simple... I have a form with check boxes (cb). All the cb captions are in a gray font color. What I want to do is write a script that changes the caption font color from gray to black when the check box is selected. The object is to "highlight" those selected captions (in black text) and "ignore" whatever is not selected (in gray text). Any ideas, suggestions, comments... Thanks!

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

I built a sample for you

Paul

View solution in original post

4 Replies

Avatar

Former Community Member

Is this being done in a Guide or in a regular form?

Paul

Avatar

Level 1

Regular form. One page. Beging created directly in LiveCycle (not imported from another source).

Avatar

Correct answer by
Former Community Member

I built a sample for you

Paul

Avatar

Level 1

Thank you!  It works perfectly! I knew there had to be a "simple" syntax. Can you recommend any books or classes that may help me become more familiar with JavaScript or XML syntax? I am less than a beginner, more like inept, but I need to learn. Thanks again!

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----