Donnez vie à vos documents numériques !
 

Répondre à : Attribution de script sur bouton. – RÉSOLU

abracadabraPDF Forums PDF – Général Attribution de script sur bouton. – RÉSOLU Répondre à : Attribution de script sur bouton. – RÉSOLU

#53783
alex
Participant

Petite correction logique:
//si le nom commence par  « BTN_DL_fiche_A » et si sa longueur est strictement de 14 digits,on lui associe le script
      if(nomDeChamp.substring(0,14)== « BTN_DL_fiche_A »& this.getField(nomDeChamp).type== »button »&nomDeChamp.length==14)

Non ?