Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to set a Script to format conditionnel with radio boton yes or No

New Here ,
Jul 15, 2021 Jul 15, 2021

Copy link to clipboard

Copied

Bonjour,

Je suis nouveau sur ce forum et un nouvel utilisateur de Adobe.

J'essaie de faire qu'un bouton Radio formate un champs de texte pour qu'il soit souligné quand c'est coché oui

Voici la formule que j'ai essayé de composer et qui n'a pas marché:

 

var f = this.getField("Prénom usuel");

if(f.isBoxChecked(0)){

this.getField("Autres Prénoms  Second name Dezièm non ou") ;

if (event.richValue) {

var spans = event.richValue;

for (var i in spans) spans[i].underline = true;

event.richValue = spans;

}

 

Quelqu'un peut m'aider ?

TOPICS
How to

Views

25

Likes

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
Adobe Community Professional ,
Jul 15, 2021 Jul 15, 2021

Copy link to clipboard

Copied

Where does you use the script?

Likes

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
Adobe Community Professional ,
Jul 15, 2021 Jul 15, 2021

Copy link to clipboard

Copied

LATEST

Did you set the text field as having Rich Text Formatting?

Likes

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