• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Nov 01, 2024 Nov 01, 2024

Copy link to clipboard

Copied

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 

TOPICS
Create PDFs , How to , JavaScript

Views

152

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2024 Nov 02, 2024

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 12, 2024 Nov 12, 2024

Copy link to clipboard

Copied

LATEST

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines