Donnez vie à vos documents numériques !
 

Répondre à : 3 boutons radio / 2 images – Choix visibilité image – RÉSOLU

abracadabraPDF Forums PDF – Général 3 boutons radio / 2 images – Choix visibilité image – RÉSOLU Répondre à : 3 boutons radio / 2 images – Choix visibilité image – RÉSOLU

#66112
Baptou8545
Membre

Au temps pour moi !
Ça fonctionne, voici le script utilisé et mis en script de calcul personnalisé :

Code:

if (this.getField(“CHOIX-IMAGES”).value == “img1”){
this.getField(“IMG1”).display = display.visible;
this.getField(“IMG2”).display = display.hidden;
}
else if (this.getField(“CHOIX-IMAGES”).value == “img2”){
this.getField(“IMG2”).display = display.visible;
this.getField(“IMG1”).display = display.hidden;
}
else if (this.getField(“CHOIX-IMAGES”).value == “aucun”){
this.getField(“IMG1”).display = display.hidden;
this.getField(“IMG2”).display = display.hidden;
}

Merci à tous pour vos réponses, le problème est résolu !