j'ai un dilemne, et je ne sais pas comment m'y prendre pour le résoudre. C'est plus dans le concept que dans le code, d'ailleurs, que je pose ma question :
J'ai un formulaire html, qui ne comprend que des boutons radio :
Code : Tout sélectionner
<tr class="{FIELDS.CLASSTITLE}">
<td width="350" height="50" align="left">{FIELDS.LIBELLE}</td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}0" value="0" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}1" value="1" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}2" value="2" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}3" value="3" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}4" value="4" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
<td width="40"><input type="radio" {FIELDS.SELECTED} name="note[{FIELDS.I}]" id="note{FIELDS.I}5" value="5" tabindex="[{FIELDS.I}]" {FIELDS.CLASS} /></td>
</tr>Comme c'est un formulaire généré, ce bout de code est multiplié autant de fois que besoin ...
Une suggestion ?