Skip to main content
Participant
November 2, 2024
Question

textfield shows dropdown list first line then on line 2 change a letter color from 6 checkbox

  • November 2, 2024
  • 1 reply
  • 320 views

Hello

I have a textfield "text2" that shows on the first line af textline from 5 different dropdownlist but not at the same time and on the second line i would like a text line that shows the word "Særlig Risiko: FESTER" and  if  i change the value to yes from one of the 6 checkboxes they have  to change the letter color from black to red  

Checkboxf controls the letter F

Checkboxel controls the letter E

CheckboxS controls the letter S

CheckboxT controls the letter T

Checkboxek controls the letter E 

Checkboxr controls the letter R

 

Ib 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
November 2, 2024

You can't do it with regular text. You will need to use Rich Text Formatting and a Spans array to format each letter with a different color.

ib_4136Author
Participant
November 12, 2024

Thanks for the Info. It has been a loong time 20 + years since I have been programming at that was C++

and some of it is the same but forgot alot of it.

Is there a PDF file that i can get hold off about Javascript in adobe acobat pro

so read about the commands and how to code