<html>
<head>
<title>Nested block</title>
</head>
<body>
Example with nested dinamic block, <br>
you can have as many nested dinamic rows in template as you want.<br>
At least, it has been tested with 2 ones.
<br><br>
<table cellpadding="5" cellspacing="1">
<form action="{PHP_SELF}" method="post" name="form" id="form">
<!-- main dinamic block -->
<tmpl:ROW>
<tr bgcolor="#C0C0C0">
<td>
Choose the option:
</td>
<td>
<!-- nested dinamic block -->
<tmpl:row_checkbox>
<input type="checkbox" name="my" value="{value}">{caption}<br>
</tmpl:row_checkbox>
</td>
</tr>
</tmpl:ROW>
</table>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
|