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

Masquer afficher une image selon une variable

Community Beginner ,
May 12, 2023 May 12, 2023

Bonjour !

J'aimerais savoir si dans Acrobat Pro DC il existe une fonction selon le cas suivant :

Si un résultat dans un champ texte =0 alors pas d'image

si résultat dans ce champ texte =1 alors afficher image 1

si résultat dans ce champ texte =2 alors afficher image 2.

Sinon je pense qu'il faut peut être passer pas du Javascript mais alors là, je me connais

pas du tout.

Merci d'avance pour votre aide.

Nico

TOPICS
Create PDFs , General troubleshooting , PDF , PDF forms
1.3K
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 ,
May 12, 2023 May 12, 2023

It's possible if you use an image field with a script in the text field:

this.getField("Image1_af_image").display = event.value == "1" ? display.visible : display.hidden;
this.getField("Image2_af_image").display = event.value == "2" ? display.visible : display.hidden;

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 Beginner ,
May 12, 2023 May 12, 2023

oh great ! thank you !

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 ,
May 12, 2023 May 12, 2023

C'est possible avec des champs comme indiqué par Nesa Nurani.

C'est aussi possible en utilisant des calques, ça se joue à peu de choses mais selon le type de document l'un ou l'autre peut être plus pratique.


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 Beginner ,
May 12, 2023 May 12, 2023
LATEST

Ah les calques je n'ai pas mis mon nez là-dedans . Merci beaucoup je vais tester les deux solutions.

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