Hi, am trying to
I have a matrix of checkboxes in a
form, something like this :
rows
col1
col2
col3
col4
row1
cb
cb
cb
cb
row2
cb cb cb
cb
row3
cb
cb
cb
cb
where "cb" is a checkbox
the row and colum names are generated at runtime
from some sql-methods
the code for the form is something like this
:
<dtml-in
rowsnamesmethod>
<tr>
<td><dtml-var
rowname></td>
<dtml-in columnsnamesMethod>
<td
align="center">
<input type="checkbox" name="<dtml-var
rowname>" Value="<dtml-var
columnname>">
</td>
</dtml-in>
so the question is : how can I reference the values
of my checboxes in the result method ?
if i write
<dtml-in
rowsnamesmethod>
<dtml-var
rowname>
</dtml-in>
it gives me the row names, but I need the values of
a checbox named that way, i try
<dtml-in
rowsnamesmethod>
<dtml-var
<dtml-var <rowname>>
</dtml-in>
but that's a sintax error,
what should i do ?
Orlando Sanchez
Sitecpro
<dtml-