1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <title>UNIMARC_constructeur champ 127</title>
12 <tr>(Completer avec des 0 a gauche)</tr>
14 <td><input type="text" name="f1" maxlength=2
16 value="<!-- TMPL_VAR name="f1" -->"></td>
18 <td><input type="text" name="f2" maxlength=2
20 value="<!-- TMPL_VAR name="f2" -->"></td>
22 <td><input type="text" name="f3" maxlength=2
24 value="<!-- TMPL_VAR name="f3" -->"></td>
28 <tr><td colspan=2><input type="button" value="OK" onClick="javascript:report()"></td></tr>
33 document.f_pop.f1.value=document.f_pop.f1.value+' ';
34 document.f_pop.f2.value=document.f_pop.f2.value+' ';
35 document.f_pop.f3.value=document.f_pop.f3.value+' ';
39 document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2);
40 document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2);
41 document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2);
44 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;