abracadabraPDF › Forums › PDF – Général › Script js : comment mettre plusieurs valeurs dans une même variable ? – RÉSOLU › Répondre à : Script js : comment mettre plusieurs valeurs dans une même variable ? – RÉSOLU
8 novembre 2011 à 11:20
#52172
Maître des clés
Salut,
voici un script d’exemple, mis en application dans le PDF ci-joint.
:Smiley01:
Code:
aMail = this.getField(« e-mail.0 »).value;
bMail = this.getField(« e-mail.1 »).value;
cMail = this.getField(« e-mail.2 »).value;
aAdress = aMail + « , » + bMail + « , » + cMail;
event.target.value = aAdress;
bMail = this.getField(« e-mail.1 »).value;
cMail = this.getField(« e-mail.2 »).value;
aAdress = aMail + « , » + bMail + « , » + cMail;
event.target.value = aAdress;
[attachment deleted by admin]
