[Webtest] repeat count start value

Lisa Crispin webtest@lists.canoo.com
Wed, 17 Nov 2004 21:43:59 +0000


--NextPart_Webmail_9m3u9jl4l_24428_1100727839_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

We have a form where the fields are named with a number for each row, eg:  working_hours__1, working_hours__2, etc.  I would like to use repeat to set a value in each field, but repeat's count starts with 0.  Is there any way to set the starting count value to 1?  I saw someone wrote a patch for it (http://lists.canoo.com/pipermail/webtest/2002q2/000150.html)  but I can't use patches.  I'm hoping there is a way and the doc just isn't up to date!  We could change the way our fields are numbered, but it is not a trivial change.  
thanks,
Lisa
--NextPart_Webmail_9m3u9jl4l_24428_1100727839_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV><FONT face="Arial, Helvetica, sans-serif" size=1>We have a form where the fields are named with a number for each row, eg:&nbsp; working_hours__1, working_hours__2, etc.&nbsp; I would like to use repeat to set a value in each field, but repeat's count starts with 0.&nbsp; Is there any way to set the starting count value to 1?&nbsp; I saw someone wrote a patch for it (<A href="http://lists.canoo.com/pipermail/webtest/2002q2/000150.html">http://lists.canoo.com/pipermail/webtest/2002q2/000150.html</A>)&nbsp; but I can't use patches.&nbsp; I'm hoping there is a way and the doc just isn't up to date!&nbsp; We could change the way our fields are numbered, but it is not a trivial change.&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=1>thanks,</FONT></DIV>
<DIV><FONT face=Arial size=1>Lisa</FONT></DIV>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>

--NextPart_Webmail_9m3u9jl4l_24428_1100727839_0--