abracadabraPDF › Forums › PDF – Général › Afficher/masquer de champs suivants un champs total. – RÉSOLU › Répondre à : Afficher/masquer de champs suivants un champs total. – RÉSOLU
Du coup, j’ai intégré le code suivant dans le script de calcul personnalié
b = this.getField(“ligne2.6”).value;
c = this.getField(“ligne3.6”).value;
d = this.getField(“ligne4.6”).value;
e = this.getField(“ligne5.6”).value;
somtotal = a+b+c+d+e;
event.target.value = somtotal ;
if (event.target.value {
this.getField(“valdg”).display = display.hidden;
}
else if (event.target.value >= “15000”)
{
this.getField(“valdg”).display = display.visible;
}
else if (event.target.value >= “50000”)
{
this.getField(“valpdg”).display = display.visible;
}
Je ne pense, pas que la partie affichage/masquage des champs ne se fasse dans ce meme script.
de plus il y a certain bug (printscreen ci joint)
Peux tu me renseigner stp ?
Merci
:bonjour:
[attachment deleted by admin]