[Zope] how to access the items of an array...

zope zope@isp.lu
Tue, 03 Oct 2000 16:10:39 +0200


Hi

In a form, I defined an array variable as follows:

<dtml-in "_.range(1, _.string.atoi(form_numpages), 1)">
	<tr align="center" valign="middle">
		<td><dtml-var sequence-number></td>
		<td><input type="text" name="form_time_in" size="6" maxlength="4"></td>
	</tr>
</dtml-in>

After submitting the form, <dtml-var form_time_in> gives me following result:

['112', 'sef', 'fg', '23', 'iuiu', 'tz', 'fgh', 'fgh']

My question is now how to access the different items of that array?

Thanks a lot for your help.

Marc