abracadabraPDF › Forums › PDF – Général › Champ image › Répondre à : Champ image
28 novembre 2024 à 11:03
#75206

Maître des clés
Essaye ça :
if (nomChamp.indexOf("Aide.")==0) {
if (this.getField(nomChamp).type=="text" || (this.getField(nomChamp).type=="button" && nomChamp.indexOf("_af_image")>0)) this.getField(nomChamp).readonly=true;
else this.getField(nomChamp).readonly=false;
}