abracadabraPDF › Forums › PDF – Général › Format des champs textes › Répondre à : Format des champs textes
17 mai 2020 à 06:19
#67596

Maître des clés
bonjour,
Tes champs « texte » contiennent un script de format personnalisé « event.value = util.printf(« %,2.0f »,event.value) ; » qui fait apparaitre la partie entière d’un nombre.
Pour retirer ce script de tous les champs « texte » je te propose de lancer ce script à partir de la console :
Code:
for (var i=0; i var nomChamp=this.getNthFieldName(i);
if (this.getField(nomChamp).type== »text ») {
this.getField(nomChamp).setAction(« Format », « »);
this.getField(nomChamp).value= » »;
}
}
if (this.getField(nomChamp).type== »text ») {
this.getField(nomChamp).setAction(« Format », « »);
this.getField(nomChamp).value= » »;
}
}
@+
:bonjour: