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

How to change font color of radio button choice

New Here ,
Feb 12, 2023 Feb 12, 2023

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
589
Translate
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

Impossible.

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


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
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
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

Translate
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