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

How to change font color of radio button choice

New Here ,
Feb 12, 2023 Feb 12, 2023

Copy link to clipboard

Copied

Hi,

 

I have a form with 3 radio button selections, Green, Yellow, and red. When an email button is selected it creates an email with information from the form. How can I change the font color of the returned text in the email. For instance If the red radio button is selected I want to return the word Red in the color red. I am using this.getField("Group1").value to return the radio button that is selected. Thanks 

 

TOPICS
Edit and convert PDFs , How to , JavaScript , PDF forms

Views

313

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 ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

Impossible.

You can only pass plain text to the email, without any attributes.

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
Community Expert ,
Feb 13, 2023 Feb 13, 2023

Copy link to clipboard

Copied

LATEST

The way to get around the plain text limitation is to have the PDF submit to a custom server script, that then sends out an HTML email. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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