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

PDF form with conditional font color/format change

New Here ,
Jan 24, 2021 Jan 24, 2021

Copy link to clipboard

Copied

Hello, I'm trying to make an interactive/fillable PDF form. 

I'm new to this, so I might need some walking through..

 

1) If the sentence starts with Perfect. (in this case, the only word in the field will be Perfect.)

for the font color to change to blue, (normally red as default).

> Will the font change back to red if Perfect. is deleted?Because I only need it to be blue in this one case.

 

2) If the sentence starts with Suggested Answer : 

to have those first two words and the colon to be italicized, but not the rest of the text.

 

I was told that these require some complicated solutions. But I'd appreciate any help I can get!

Thank you.

TOPICS
Acrobat SDK and JavaScript

Views

545

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

correct answers 2 Correct answers

Community Expert , Jan 25, 2021 Jan 25, 2021

2) use span objects for this. Samples are in the Acrobat Javascript Reference.

Votes

Translate

Translate
LEGEND , Jan 25, 2021 Jan 25, 2021

Yes, this is pretty complicated. But detailed study of span objects will help you if you are already a programmer. If not, it may be too ambitious a project. 

Votes

Translate

Translate
Community Expert ,
Jan 25, 2021 Jan 25, 2021

Copy link to clipboard

Copied

2) use span objects for this. Samples are in the Acrobat Javascript Reference.

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
LEGEND ,
Jan 25, 2021 Jan 25, 2021

Copy link to clipboard

Copied

Yes, this is pretty complicated. But detailed study of span objects will help you if you are already a programmer. If not, it may be too ambitious a project. 

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 ,
Jan 28, 2021 Jan 28, 2021

Copy link to clipboard

Copied

LATEST

Ah I see, I'll have to look for another way. thank you! 

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