abracadabraPDF › Forums › PDF – Général › Problème de mise à jour en chaîne de champs de date › Répondre à : Problème de mise à jour en chaîne de champs de date
J’ai mis à jour le pdf (même nom, même adresse) avec une version plus récente.
Acrobat Reader 7.0.8 me le charge sans problèmes. Aucun message d’erreur.
La ligne 1041 ? Elle me donne juste : //
Et puis je ne vois pas d’où vient ce f.value. Il ne devrais plus exister.
Au départ, la première mouture de mon document comprenait deux champs date mis à jour avec ce script :
var f = this.getField(“datevalidationglobale”);
f.value = util.printd(“dd/mm/yyyy”, new Date());
Mais j’ai virer ces champs et effacer le script.
Tenez, voilà tous les scripts de mon document :
//
//
Ne pas modifier les balises XML
//
//
//
//
/*********** appartient à : Document-Level:copienomeleve ***********/
var v=this.getField(“nomeleve”).valueAsString;
var u=this.getField(“nomeleveauto”);
u.value = “[ ” + v + ” ]”;
//
//
//
//
//
/*********** appartient à : Document-Actions:Le document sera fermé. ***********/
var v1=this.getField(“nomeleve”).valueAsString;
var u1=this.getField(“nomeleveauto.0”);
u1.value = “[ ” + v1 + ” ]”;
v=this.getField(“notefinale11”).valueAsString;
var u=this.getField(“OK11”);
u.value = v;
v=this.getField(“notefinale12”).valueAsString;
var u=this.getField(“OK12”);
u.value = v;
v=this.getField(“notefinale13”).valueAsString;
var u=this.getField(“OK13”);
u.value = v;
v=this.getField(“notefinale14”).valueAsString;
var u=this.getField(“OK14”);
u.value = v;
v=this.getField(“notefinale21”).valueAsString;
var u=this.getField(“OK21”);
u.value = v;
v=this.getField(“notefinale22”).valueAsString;
var u=this.getField(“OK22”);
u.value = v;
v=this.getField(“notefinale23”).valueAsString;
var u=this.getField(“OK23”);
u.value = v;
v=this.getField(“notefinale24”).valueAsString;
var u=this.getField(“OK24”);
u.value = v;
v=this.getField(“notefinale31”).valueAsString;
var u=this.getField(“OK31”);
u.value = v;
v=this.getField(“notefinale32”).valueAsString;
var u=this.getField(“OK32”);
u.value = v;
v=this.getField(“notefinale33”).valueAsString;
var u=this.getField(“OK33”);
u.value = v;
v=this.getField(“notefinale34”).valueAsString;
var u=this.getField(“OK34”);
u.value = v;
v=this.getField(“notefinale35”).valueAsString;
var u=this.getField(“OK35”);
u.value = v;
v=this.getField(“notefinale36”).valueAsString;
var u=this.getField(“OK36”);
u.value = v;
v=this.getField(“notefinale41”).valueAsString;
var u=this.getField(“OK41”);
u.value = v;
v=this.getField(“notefinale42”).valueAsString;
var u=this.getField(“OK42”);
u.value = v;
v=this.getField(“notefinale43”).valueAsString;
var u=this.getField(“OK43”);
u.value = v;
v=this.getField(“notefinale44”).valueAsString;
var u=this.getField(“OK44”);
u.value = v;
v=this.getField(“notefinale51”).valueAsString;
var u=this.getField(“OK51”);
u.value = v;
v=this.getField(“notefinale52”).valueAsString;
var u=this.getField(“OK52”);
u.value = v;
v=this.getField(“notefinale53”).valueAsString;
var u=this.getField(“OK53”);
u.value = v;
v=this.getField(“notefinale54”).valueAsString;
var u=this.getField(“OK54”);
u.value = v;
v=this.getField(“noteb2i”).valueAsString;
var u=this.getField(“b2i”);
u.value = v;
//
//
//
//
//
/*********** appartient à : Document-Actions:Le document sera enregistré. ***********/
var v1=this.getField(“nomeleve”).valueAsString;
var u1=this.getField(“nomeleveauto.0”);
u1.value = “[ ” + v1 + ” ]”;
v=this.getField(“notefinale11”).valueAsString;
var u=this.getField(“OK11”);
u.value = v;
v=this.getField(“notefinale12”).valueAsString;
var u=this.getField(“OK12”);
u.value = v;
v=this.getField(“notefinale13”).valueAsString;
var u=this.getField(“OK13”);
u.value = v;
v=this.getField(“notefinale14”).valueAsString;
var u=this.getField(“OK14”);
u.value = v;
v=this.getField(“notefinale21”).valueAsString;
var u=this.getField(“OK21”);
u.value = v;
v=this.getField(“notefinale22”).valueAsString;
var u=this.getField(“OK22”);
u.value = v;
v=this.getField(“notefinale23”).valueAsString;
var u=this.getField(“OK23”);
u.value = v;
v=this.getField(“notefinale24”).valueAsString;
var u=this.getField(“OK24”);
u.value = v;
v=this.getField(“notefinale31”).valueAsString;
var u=this.getField(“OK31”);
u.value = v;
v=this.getField(“notefinale32”).valueAsString;
var u=this.getField(“OK32”);
u.value = v;
v=this.getField(“notefinale33”).valueAsString;
var u=this.getField(“OK33”);
u.value = v;
v=this.getField(“notefinale34”).valueAsString;
var u=this.getField(“OK34”);
u.value = v;
v=this.getField(“notefinale35”).valueAsString;
var u=this.getField(“OK35”);
u.value = v;
v=this.getField(“notefinale36”).valueAsString;
var u=this.getField(“OK36”);
u.value = v;
v=this.getField(“notefinale41”).valueAsString;
var u=this.getField(“OK41”);
u.value = v;
v=this.getField(“notefinale42”).valueAsString;
var u=this.getField(“OK42”);
u.value = v;
v=this.getField(“notefinale43”).valueAsString;
var u=this.getField(“OK43”);
u.value = v;
v=this.getField(“notefinale44”).valueAsString;
var u=this.getField(“OK44”);
u.value = v;
v=this.getField(“notefinale51”).valueAsString;
var u=this.getField(“OK51”);
u.value = v;
v=this.getField(“notefinale52”).valueAsString;
var u=this.getField(“OK52”);
u.value = v;
v=this.getField(“notefinale53”).valueAsString;
var u=this.getField(“OK53”);
u.value = v;
v=this.getField(“notefinale54”).valueAsString;
var u=this.getField(“OK54”);
u.value = v;
v=this.getField(“noteb2i”).valueAsString;
var u=this.getField(“b2i”);
u.value = v;
//
//
//
//
//
/*********** appartient à : Document-Actions:Le document a été enregistré. ***********/
var v1=this.getField(“nomeleve”).valueAsString;
var u1=this.getField(“nomeleveauto.0”);
u1.value = “[ ” + v1 + ” ]”;
v=this.getField(“notefinale11”).valueAsString;
var u=this.getField(“OK11”);
u.value = v;
v=this.getField(“notefinale12”).valueAsString;
var u=this.getField(“OK12”);
u.value = v;
v=this.getField(“notefinale13”).valueAsString;
var u=this.getField(“OK13”);
u.value = v;
v=this.getField(“notefinale14”).valueAsString;
var u=this.getField(“OK14”);
u.value = v;
v=this.getField(“notefinale21”).valueAsString;
var u=this.getField(“OK21”);
u.value = v;
v=this.getField(“notefinale22”).valueAsString;
var u=this.getField(“OK22”);
u.value = v;
v=this.getField(“notefinale23”).valueAsString;
var u=this.getField(“OK23”);
u.value = v;
v=this.getField(“notefinale24”).valueAsString;
var u=this.getField(“OK24”);
u.value = v;
v=this.getField(“notefinale31”).valueAsString;
var u=this.getField(“OK31”);
u.value = v;
v=this.getField(“notefinale32”).valueAsString;
var u=this.getField(“OK32”);
u.value = v;
v=this.getField(“notefinale33”).valueAsString;
var u=this.getField(“OK33”);
u.value = v;
v=this.getField(“notefinale34”).valueAsString;
var u=this.getField(“OK34”);
u.value = v;
v=this.getField(“notefinale35”).valueAsString;
var u=this.getField(“OK35”);
u.value = v;
v=this.getField(“notefinale36”).valueAsString;
var u=this.getField(“OK36”);
u.value = v;
v=this.getField(“notefinale41”).valueAsString;
var u=this.getField(“OK41”);
u.value = v;
v=this.getField(“notefinale42”).valueAsString;
var u=this.getField(“OK42”);
u.value = v;
v=this.getField(“notefinale43”).valueAsString;
var u=this.getField(“OK43”);
u.value = v;
v=this.getField(“notefinale44”).valueAsString;
var u=this.getField(“OK44”);
u.value = v;
v=this.getField(“notefinale51”).valueAsString;
var u=this.getField(“OK51”);
u.value = v;
v=this.getField(“notefinale52”).valueAsString;
var u=this.getField(“OK52”);
u.value = v;
v=this.getField(“notefinale53”).valueAsString;
var u=this.getField(“OK53”);
u.value = v;
v=this.getField(“notefinale54”).valueAsString;
var u=this.getField(“OK54”);
u.value = v;
v=this.getField(“noteb2i”).valueAsString;
var u=this.getField(“b2i”);
u.value = v;
//
//
//
//
//
/*********** appartient à : Document-Actions:Le document sera imprimé. ***********/
var v1=this.getField(“nomeleve”).valueAsString;
var u1=this.getField(“nomeleveauto.0”);
u1.value = “[ ” + v1 + ” ]”;
v=this.getField(“notefinale11”).valueAsString;
var u=this.getField(“OK11”);
u.value = v;
v=this.getField(“notefinale12”).valueAsString;
var u=this.getField(“OK12”);
u.value = v;
v=this.getField(“notefinale13”).valueAsString;
var u=this.getField(“OK13”);
u.value = v;
v=this.getField(“notefinale14”).valueAsString;
var u=this.getField(“OK14”);
u.value = v;
v=this.getField(“notefinale21”).valueAsString;
var u=this.getField(“OK21”);
u.value = v;
v=this.getField(“notefinale22”).valueAsString;
var u=this.getField(“OK22”);
u.value = v;
v=this.getField(“notefinale23”).valueAsString;
var u=this.getField(“OK23”);
u.value = v;
v=this.getField(“notefinale24”).valueAsString;
var u=this.getField(“OK24”);
u.value = v;
v=this.getField(“notefinale31”).valueAsString;
var u=this.getField(“OK31”);
u.value = v;
v=this.getField(“notefinale32”).valueAsString;
var u=this.getField(“OK32”);
u.value = v;
v=this.getField(“notefinale33”).valueAsString;
var u=this.getField(“OK33”);
u.value = v;
v=this.getField(“notefinale34”).valueAsString;
var u=this.getField(“OK34”);
u.value = v;
v=this.getField(“notefinale35”).valueAsString;
var u=this.getField(“OK35”);
u.value = v;
v=this.getField(“notefinale36”).valueAsString;
var u=this.getField(“OK36”);
u.value = v;
v=this.getField(“notefinale41”).valueAsString;
var u=this.getField(“OK41”);
u.value = v;
v=this.getField(“notefinale42”).valueAsString;
var u=this.getField(“OK42”);
u.value = v;
v=this.getField(“notefinale43”).valueAsString;
var u=this.getField(“OK43”);
u.value = v;
v=this.getField(“notefinale44”).valueAsString;
var u=this.getField(“OK44”);
u.value = v;
v=this.getField(“notefinale51”).valueAsString;
var u=this.getField(“OK51”);
u.value = v;
v=this.getField(“notefinale52”).valueAsString;
var u=this.getField(“OK52”);
u.value = v;
v=this.getField(“notefinale53”).valueAsString;
var u=this.getField(“OK53”);
u.value = v;
v=this.getField(“notefinale54”).valueAsString;
var u=this.getField(“OK54”);
u.value = v;
v=this.getField(“noteb2i”).valueAsString;
var u=this.getField(“b2i”);
u.value = v;
//
//
//
//
//
/*********** appartient à : Document-Actions:Le document a été imprimé. ***********/
var v1=this.getField(“nomeleve”).valueAsString;
var u1=this.getField(“nomeleveauto.0”);
u1.value = “[ ” + v1 + ” ]”;
v=this.getField(“notefinale11”).valueAsString;
var u=this.getField(“OK11”);
u.value = v;
v=this.getField(“notefinale12”).valueAsString;
var u=this.getField(“OK12”);
u.value = v;
v=this.getField(“notefinale13”).valueAsString;
var u=this.getField(“OK13”);
u.value = v;
v=this.getField(“notefinale14”).valueAsString;
var u=this.getField(“OK14”);
u.value = v;
v=this.getField(“notefinale21”).valueAsString;
var u=this.getField(“OK21”);
u.value = v;
v=this.getField(“notefinale22”).valueAsString;
var u=this.getField(“OK22”);
u.value = v;
v=this.getField(“notefinale23”).valueAsString;
var u=this.getField(“OK23”);
u.value = v;
v=this.getField(“notefinale24”).valueAsString;
var u=this.getField(“OK24”);
u.value = v;
v=this.getField(“notefinale31”).valueAsString;
var u=this.getField(“OK31”);
u.value = v;
v=this.getField(“notefinale32”).valueAsString;
var u=this.getField(“OK32”);
u.value = v;
v=this.getField(“notefinale33”).valueAsString;
var u=this.getField(“OK33”);
u.value = v;
v=this.getField(“notefinale34”).valueAsString;
var u=this.getField(“OK34”);
u.value = v;
v=this.getField(“notefinale35”).valueAsString;
var u=this.getField(“OK35”);
u.value = v;
v=this.getField(“notefinale36”).valueAsString;
var u=this.getField(“OK36”);
u.value = v;
v=this.getField(“notefinale41”).valueAsString;
var u=this.getField(“OK41”);
u.value = v;
v=this.getField(“notefinale42”).valueAsString;
var u=this.getField(“OK42”);
u.value = v;
v=this.getField(“notefinale43”).valueAsString;
var u=this.getField(“OK43”);
u.value = v;
v=this.getField(“notefinale44”).valueAsString;
var u=this.getField(“OK44”);
u.value = v;
v=this.getField(“notefinale51”).valueAsString;
var u=this.getField(“OK51”);
u.value = v;
v=this.getField(“notefinale52”).valueAsString;
var u=this.getField(“OK52”);
u.value = v;
v=this.getField(“notefinale53”).valueAsString;
var u=this.getField(“OK53”);
u.value = v;
v=this.getField(“notefinale54”).valueAsString;
var u=this.getField(“OK54”);
u.value = v;
v=this.getField(“noteb2i”).valueAsString;
var u=this.getField(“b2i”);
u.value = v;
//
//
//
//
//
/*********** appartient à : AcroForm:Correction:Annot1:MouseUp:Action1 ***********/
////////////////////////////////////////////////////////////////////////////
// boite de dialogue
var cResponse = app.response({
cQuestion: “Entrez votre mot de passe”, cTitle: “Mot de passe”, });
// test de la reponse
{
if ( cResponse == null) // si annulation
{
app.alert(“Vous devez entrer votre mot de passe pour utiliser ce document.”);
} // envoi alerte
else if ( cResponse == “temp”) // sinon si reponse est 000000
{
this.getField(“validationenseignant”).readonly = false; // deverrouille les champs PIERRE
app.beep(); // bip de confirmation
}
else // sinon si autre reponse (mot de passe erroné)
{
app.alert(“Ce mot de passe est invalide !”,3);
} // envoi alerte
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe11:Calculate ***********/
var z = “Compétence acquise”;
var y = this.getField(“OKe11”);
var x = this.getField(“notefinaleenseignant11”).valueAsString;
if ( x == 1)
{
y.value = z;
}
else
{
y.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe12:Calculate ***********/
var z1 = “Compétence acquise”;
var y1 = this.getField(“OKe12”);
var x1 = this.getField(“notefinaleenseignant12”).valueAsString;
if ( x1 == 1)
{
y1.value = z1;
}
else
{
y1.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe13:Calculate ***********/
var z = “Compétence acquise”;
var y = this.getField(“OKe13”);
var x = this.getField(“notefinaleenseignant13”).valueAsString;
if ( x == 1)
{
y.value = z;
}
else
{
y.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe14:Calculate ***********/
var z = “Compétence acquise”;
var y = this.getField(“OKe14”);
var x = this.getField(“notefinaleenseignant14”).valueAsString;
if ( x == 1)
{
y.value = z;
}
else
{
y.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe21:Calculate ***********/
var z21 = “Compétence acquise”;
var y21 = this.getField(“OKe21”);
var x21 = this.getField(“notefinaleenseignant21”).valueAsString;
if ( x21 == 1)
{
y21.value = z21;
}
else
{
y21.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe22:Calculate ***********/
var z22 = “Compétence acquise”;
var y22 = this.getField(“OKe22”);
var x22 = this.getField(“notefinaleenseignant22”).valueAsString;
if ( x22 == 1)
{
y22.value = z22;
}
else
{
y22.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe23:Calculate ***********/
var z23 = “Compétence acquise”;
var y23 = this.getField(“OKe23”);
var x23 = this.getField(“notefinaleenseignant23”).valueAsString;
if ( x23 == 1)
{
y23.value = z23;
}
else
{
y23.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe24:Calculate ***********/
var z24 = “Compétence acquise”;
var y24 = this.getField(“OKe24”);
var x24 = this.getField(“notefinaleenseignant24”).valueAsString;
if ( x24 == 1)
{
y24.value = z24;
}
else
{
y24.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe31:Calculate ***********/
var z31 = “Compétence acquise”;
var y31 = this.getField(“OKe31”);
var x31 = this.getField(“notefinaleenseignant31”).valueAsString;
if ( x31 == 1)
{
y31.value = z31;
}
else
{
y31.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe32:Calculate ***********/
var z32 = “Compétence acquise”;
var y32 = this.getField(“OKe32”);
var x32 = this.getField(“notefinaleenseignant32”).valueAsString;
if ( x32 == 1)
{
y32.value = z32;
}
else
{
y32.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe33:Calculate ***********/
var z33 = “Compétence acquise”;
var y33 = this.getField(“OKe33”);
var x33 = this.getField(“notefinaleenseignant33”).valueAsString;
if ( x33 == 1)
{
y33.value = z33;
}
else
{
y33.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe34:Calculate ***********/
var z34 = “Compétence acquise”;
var y34 = this.getField(“OKe34”);
var x34 = this.getField(“notefinaleenseignant34”).valueAsString;
if ( x34 == 1)
{
y34.value = z34;
}
else
{
y34.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe35:Calculate ***********/
var z35 = “Compétence acquise”;
var y35 = this.getField(“OKe35”);
var x35 = this.getField(“notefinaleenseignant35”).valueAsString;
if ( x35 == 1)
{
y35.value = z35;
}
else
{
y35.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe36:Calculate ***********/
var z36 = “Compétence acquise”;
var y36 = this.getField(“OKe36”);
var x36 = this.getField(“notefinaleenseignant36”).valueAsString;
if ( x36 == 1)
{
y36.value = z36;
}
else
{
y36.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe41:Calculate ***********/
var z41 = “Compétence acquise”;
var y41 = this.getField(“OKe41”);
var x41 = this.getField(“notefinaleenseignant41”).valueAsString;
if ( x41 == 1)
{
y41.value = z41;
}
else
{
y41.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe42:Calculate ***********/
var z42 = “Compétence acquise”;
var y42 = this.getField(“OKe42”);
var x42 = this.getField(“notefinaleenseignant42”).valueAsString;
if ( x42 == 1)
{
y42.value = z42;
}
else
{
y42.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe43:Calculate ***********/
var z43 = “Compétence acquise”;
var y43 = this.getField(“OKe43”);
var x43 = this.getField(“notefinaleenseignant43”).valueAsString;
if ( x43 == 1)
{
y43.value = z43;
}
else
{
y43.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe44:Calculate ***********/
var z44 = “Compétence acquise”;
var y44 = this.getField(“OKe44”);
var x44 = this.getField(“notefinaleenseignant44”).valueAsString;
if ( x44 == 1)
{
y44.value = z44;
}
else
{
y44.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe51:Calculate ***********/
var z51 = “Compétence acquise”;
var y51 = this.getField(“OKe51”);
var x51 = this.getField(“notefinaleenseignant51”).valueAsString;
if ( x51 == 1)
{
y51.value = z51;
}
else
{
y51.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe52:Calculate ***********/
var z52 = “Compétence acquise”;
var y52 = this.getField(“OKe52”);
var x52 = this.getField(“notefinaleenseignant52”).valueAsString;
if ( x52 == 1)
{
y52.value = z52;
}
else
{
y52.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe53:Calculate ***********/
var z53 = “Compétence acquise”;
var y53 = this.getField(“OKe53”);
var x53 = this.getField(“notefinaleenseignant53”).valueAsString;
if ( x53 == 1)
{
y53.value = z53;
}
else
{
y53.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:OKe54:Calculate ***********/
var z54 = “Compétence acquise”;
var y54 = this.getField(“OKe54”);
var x54 = this.getField(“notefinaleenseignant54”).valueAsString;
if ( x54 == 1)
{
y54.value = z54;
}
else
{
y54.value = “”;
}
//
//
//
//
//
/*********** appartient à : AcroForm:date11:Calculate ***********/
var m11 = this.getField(“date11”);
var n11 = this.getField(“OKe11”).valueAsString;
if ( n11 == “”)
{
m11.value = “”;
}
else
{
m11.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date12:Calculate ***********/
var m12 = this.getField(“date12”);
var n12 = this.getField(“OKe12”).valueAsString;
if ( n12 == “”)
{
m12.value = “”;
}
else
{
m12.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date13:Calculate ***********/
var m13 = this.getField(“date13”);
var n13 = this.getField(“OKe13”).valueAsString;
if ( n13 == “”)
{
m13.value = “”;
}
else
{
m13.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date14:Calculate ***********/
var m14 = this.getField(“date14”);
var n14 = this.getField(“OKe14”).valueAsString;
if ( n14 == “”)
{
m14.value = “”;
}
else
{
m14.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date21:Calculate ***********/
var m21 = this.getField(“date21”);
var n21 = this.getField(“OKe21”).valueAsString;
if ( n21 == “”)
{
m21.value = “”;
}
else
{
m21.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date22:Calculate ***********/
var m22 = this.getField(“date22”);
var n22 = this.getField(“OKe22”).valueAsString;
if ( n22 == “”)
{
m22.value = “”;
}
else
{
m22.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date23:Calculate ***********/
var m23 = this.getField(“date23”);
var n23 = this.getField(“OKe23”).valueAsString;
if ( n23 == “”)
{
m23.value = “”;
}
else
{
m23.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date24:Calculate ***********/
var m24 = this.getField(“date24”);
var n24 = this.getField(“OKe24”).valueAsString;
if ( n24 == “”)
{
m24.value = “”;
}
else
{
m24.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date31:Calculate ***********/
var m31 = this.getField(“date31”);
var n31 = this.getField(“OKe31”).valueAsString;
if ( n31 == “”)
{
m31.value = “”;
}
else
{
m31.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date32:Calculate ***********/
var m32 = this.getField(“date32”);
var n32 = this.getField(“OKe32”).valueAsString;
if ( n32 == “”)
{
m32.value = “”;
}
else
{
m32.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date33:Calculate ***********/
var m33 = this.getField(“date33”);
var n33 = this.getField(“OKe33”).valueAsString;
if ( n33 == “”)
{
m33.value = “”;
}
else
{
m33.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date34:Calculate ***********/
var m34 = this.getField(“date34”);
var n34 = this.getField(“OKe34”).valueAsString;
if ( n34 == “”)
{
m34.value = “”;
}
else
{
m34.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date35:Calculate ***********/
var m35 = this.getField(“date35”);
var n35 = this.getField(“OKe35”).valueAsString;
if ( n35 == “”)
{
m35.value = “”;
}
else
{
m35.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date36:Calculate ***********/
var m36 = this.getField(“date36”);
var n36 = this.getField(“OKe36”).valueAsString;
if ( n36 == “”)
{
m36.value = “”;
}
else
{
m36.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date41:Calculate ***********/
var m41 = this.getField(“date41”);
var n41 = this.getField(“OKe41”).valueAsString;
if ( n41 == “”)
{
m41.value = “”;
}
else
{
m41.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date42:Calculate ***********/
var m42 = this.getField(“date42”);
var n42 = this.getField(“OKe42”).valueAsString;
if ( n42 == “”)
{
m42.value = “”;
}
else
{
m42.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date43:Calculate ***********/
var m43 = this.getField(“date43”);
var n43 = this.getField(“OKe43”).valueAsString;
if ( n43 == “”)
{
m43.value = “”;
}
else
{
m43.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date44:Calculate ***********/
var m44 = this.getField(“date44”);
var n44 = this.getField(“OKe44”).valueAsString;
if ( n44 == “”)
{
m44.value = “”;
}
else
{
m44.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date51:Calculate ***********/
var m51 = this.getField(“date51”);
var n51 = this.getField(“OKe51”).valueAsString;
if ( n51 == “”)
{
m51.value = “”;
}
else
{
m51.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date52:Calculate ***********/
var m52 = this.getField(“date52”);
var n52 = this.getField(“OKe52”).valueAsString;
if ( n52 == “”)
{
m52.value = “”;
}
else
{
m52.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date53:Calculate ***********/
var m53 = this.getField(“date53”);
var n53 = this.getField(“OKe53”).valueAsString;
if ( n53 == “”)
{
m53.value = “”;
}
else
{
m53.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:date54:Calculate ***********/
var m54 = this.getField(“date54”);
var n54 = this.getField(“OKe54”).valueAsString;
if ( n54 == “”)
{
m54.value = “”;
}
else
{
m54.value = util.printd(“dd/mm/yyyy”, new Date());
}
//
//
//
//
//
/*********** appartient à : AcroForm:noteb2i:Calculate ***********/
var a = this.getField(“cumulenseignantfinal”);
event.value = Math.round(a.value / 36);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale11:Calculate ***********/
var a = this.getField(“calcultotal11”);
event.value = Math.round(a.value / 9);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale12:Calculate ***********/
var a = this.getField(“calcultotal12”);
event.value = Math.round(a.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale13:Calculate ***********/
var a = this.getField(“calcultotal13”);
event.value = Math.round(a.value / 16);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale14:Calculate ***********/
var a = this.getField(“calcultotal14”);
event.value = Math.round(a.value / 20);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale21:Calculate ***********/
var a = this.getField(“calcultotal21”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale22:Calculate ***********/
var a = this.getField(“calcultotal22”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale23:Calculate ***********/
var a = this.getField(“calcultotal23”);
event.value = Math.round(a.value / 4);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale24:Calculate ***********/
var a = this.getField(“calcultotal24”);
event.value = Math.round(a.value / 6);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale31:Calculate ***********/
var a = this.getField(“calcultotal31”);
event.value = Math.round(a.value / 11);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale32:Calculate ***********/
var a = this.getField(“calcultotal32”);
event.value = Math.round(a.value / 11);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale33:Calculate ***********/
var a = this.getField(“calcultotal33”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale34:Calculate ***********/
var a = this.getField(“calcultotal34”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale35:Calculate ***********/
var a = this.getField(“calcultotal35”);
event.value = Math.round(a.value / 2);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale36:Calculate ***********/
var a = this.getField(“calcultotal36”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale41:Calculate ***********/
var a = this.getField(“calcultotal41”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale42:Calculate ***********/
var a = this.getField(“calcultotal42”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale43:Calculate ***********/
var a = this.getField(“calcultotal43”);
event.value = Math.round(a.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale44:Calculate ***********/
var a = this.getField(“calcultotal44”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale51:Calculate ***********/
var a = this.getField(“calcultotal51”);
event.value = Math.round(a.value / 9);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale52:Calculate ***********/
var a = this.getField(“calcultotal52”);
event.value = Math.round(a.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale53:Calculate ***********/
var a = this.getField(“calcultotal53”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinale54:Calculate ***********/
var a = this.getField(“calcultotal54”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant11:Calculate ***********/
var a = this.getField(“calculenseignant11”);
event.value = Math.round(a.value / 9);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant12:Calculate ***********/
var b = this.getField(“calculenseignant12”);
event.value = Math.round(b.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant13:Calculate ***********/
var a = this.getField(“calculenseignant13”);
event.value = Math.round(a.value / 16);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant14:Calculate ***********/
var a = this.getField(“calculenseignant14”);
event.value = Math.round(a.value / 20);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant21:Calculate ***********/
var a = this.getField(“calculenseignant21”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant22:Calculate ***********/
var a = this.getField(“calculenseignant22”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant23:Calculate ***********/
var a = this.getField(“calculenseignant23”);
event.value = Math.round(a.value / 4);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant24:Calculate ***********/
var a = this.getField(“calculenseignant24”);
event.value = Math.round(a.value / 6);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant31:Calculate ***********/
var a = this.getField(“calculenseignant31”);
event.value = Math.round(a.value / 11);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant32:Calculate ***********/
var a = this.getField(“calculenseignant32”);
event.value = Math.round(a.value / 11);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant33:Calculate ***********/
var a = this.getField(“calculenseignant33”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant34:Calculate ***********/
var a = this.getField(“calculenseignant34”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant35:Calculate ***********/
var a = this.getField(“calculenseignant35”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant36:Calculate ***********/
var a = this.getField(“calculenseignant36”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant41:Calculate ***********/
var a = this.getField(“calculenseignant41”);
event.value = Math.round(a.value / 7);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant42:Calculate ***********/
var a = this.getField(“calculenseignant42”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant43:Calculate ***********/
var a = this.getField(“calculenseignant43”);
event.value = Math.round(a.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant44:Calculate ***********/
var a = this.getField(“calculenseignant44”);
event.value = Math.round(a.value / 3);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant51:Calculate ***********/
var a = this.getField(“calculenseignant51”);
event.value = Math.round(a.value / 9);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant52:Calculate ***********/
var a = this.getField(“calculenseignant52”);
event.value = Math.round(a.value / 5);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant53:Calculate ***********/
var a = this.getField(“calculenseignant53”);
event.value = Math.round(a.value / 1);
//
//
//
//
//
/*********** appartient à : AcroForm:notefinaleenseignant54:Calculate ***********/
var a = this.getField(“calculenseignant54”);
event.value = Math.round(a.value / 1);
//
//
Si ça peut aider à comprendre…
Deckard