abracadabraPDF › Forums › PDF – Général › Ajout condition > ou < d’un champ nombre sur un bouton d’envoi. – RÉSOLU › Répondre à : Ajout condition > ou < d’un champ nombre sur un bouton d’envoi. – RÉSOLU
25 septembre 2012 à 13:27
#53540
Membre
Salut à tous,
Merci Merlin pour m’avoir encore une fois bien aidé.
Le post peut etre résolu.
Voici le code exact à ma demande initial qui marche parfaitement bien:
Code:
if ((this.getField(« favdr »).isBoxChecked(0)) &&
(this.getField(« champstotal »).value >= « 50000 »))
(this.getField(« champstotal »).value >= « 50000 »))
{var gTo = this.getField(« champsmail1 »);}
else
{var gTo = this.getField(« champsmail2 »);}
var gCc = this.getField(« champsmail3 »);
var fSubject = this.getField(« concatobjet »);
var fBody = this.getField(« concatcorps »);
this.mailDoc(true, gTo.value, gCc.value, « », fSubject.value, fBody.value);
Voilou :siffle:
:Smiley03: