3 <title>UNIMARC constructeur champ 122</title>
6 <form name="f_pop" onSubmit="javascript:report()">
11 <select name="f1" size="1">
12 <!-- TMPL_IF name="f1 " -->
13 <option value=" " SELECTED>Keine</option>
15 <option value=" ">Keine</option>
17 <!-- TMPL_IF name="f1c" -->
18 <option value="c" SELECTED>La date
19 tombe avant l'an 1 du calendrier gregorien</option>
21 <option value="c">La date tombe avant
22 l'an 1 du calendrier gregorien</option>
24 <!-- TMPL_IF name="f1d" -->
25 <option value="d" SELECTED>La date
26 tombe apres l'an 1</option>
28 <option value="d">La date tombe apres
31 <!-- TMPL_IF name="f1c" -->
32 <option value="c" SELECTED>Spatiale</option>
34 <option value="c">Spatiale</option>
39 <td><input type="text" name="f2" maxlength=4 size=5
40 value="<!-- TMPL_VAR name="f2" -->">
44 <td><input type="text" name="f3" maxlength=2
46 value="<!-- TMPL_VAR name="f3" -->"></td>
48 <td><input type="text" name="f4" maxlength=2
50 value="<!-- TMPL_VAR name="f4" -->"></td>
53 <td><input type="text" name="f5" maxlength=2
55 value="<!-- TMPL_VAR name="f5" -->"></td>
59 <tr><td colspan=2><input type="submit" value="OK"></td></tr>
65 document.f_pop.f2.value=document.f_pop.f2.value+' ';
66 document.f_pop.f3.value=document.f_pop.f3.value+' ';
67 document.f_pop.f4.value=document.f_pop.f4.value+' ';
68 document.f_pop.f5.value=document.f_pop.f5.value+' ';
72 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,4);
73 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
74 document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2);
75 document.f_pop.f5.value=document.f_pop.f5.value.substring(0,2);
78 opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value= document.f_pop.f1.value + document.f_pop.f2.value +document.f_pop.f3.value +document.f_pop.f4.value +document.f_pop.f5.value ;