abracadabraPDF › Forums › PDF – Général › bande multiligne + bouton bascule › Répondre à : bande multiligne + bouton bascule
12 novembre 2007 à 17:06
#49420
Merlin
Maître des clés
1- Dans l’onglet Options du champ de type texte il y a l’option : Bande de xxx caractères.
2- Dans la case à cocher il faut ajouter une action (souris levée) de type : JavaScript.
Code:
var toto = this.getField(“MONCHAMPTEXTE”);
if (this.getField(“MACASACOCHER”).value == “Off”)
toto.display = display.hidden;
else
toto.display = display.visible;
if (this.getField(“MACASACOCHER”).value == “Off”)
toto.display = display.hidden;
else
toto.display = display.visible;