Donnez vie à vos documents numériques !
 

Répondre à : Conditions sur un champ texte

abracadabraPDF Forums PDF – Général Conditions sur un champ texte Répondre à : Conditions sur un champ texte

#63462
bebarth
Maître des clés

bonjour,
A mettre en script de calcul :

Code:
var boutonRadio=this.getField(“RADIO1”).value;
var totalOption=this.getField(“total option”).value;
switch (boutonRadio) {
case 2 :
var remise=5;
break;
case 3 :
var remise=10;
break;
case 4 :
var remise=15;
break;
default:
var remise=0;
}
this.event.target.value= totalOption-(totalOption*remise/100);

@+
:bonjour: