Donnez vie à vos documents numériques !
 

Répondre à : Afficher ou cacher photos en fonction d’une liste

abracadabraPDF Forums PDF – Général Afficher ou cacher photos en fonction d’une liste Répondre à : Afficher ou cacher photos en fonction d’une liste

#64056
Merlin
Maître des clés

je préfère l’expression switch

Est-ce que “switch” supporte des conditions ?
Exemple :

switch (event.value) {
    case “
i < 55“:
    this.getField(“Phot”).display = display.hidden;
    this.getField(“Phot.A”).display = display.visible;
    break;