One more idea : in templates, how to write HTML ? I suggest : ======= 1- when something is open/closed in a short area, it's in the same line : <td> </td> Otherwise, it's indented on some lines : <form action='<TMPL_VAR name=action>' name=Aform method=post> <input type=hidden name=op value='add_validate'> <table> <tr> <td>Code annexe</td> <td> <TMPL_IF name="branchcode"> <input type=hidden name=branchcode> <TMPL_VAR name="branchcode"> <TMPL_ELSE> <input type=text name=branchcode size=5 maxlength=5> </TMPL_IF> </td> </tr> </table> </form> 2- As suggested in html::template doc, HTML::template tags are uppercase <TMPL_VAR name="smthg"> 3- as required in w3c html : everything in right part of a token has "" (<input type="text" value="help"> : text and help is on the right) (it's mandatory when a non-alpha char is present, it's a good idea to always use it). -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)