A list comprehension might be easier. Note, if you put non-TD elements in a 
TR, they will automatically be put inside separate TD's within the TR. If 
you provide some details regarding your query and the result you're trying 
to achieve, we may be able to provide more specific advice.

Anthony

On Thursday, February 16, 2012 12:35:34 AM UTC-5, web-dev-m wrote:
>
> I am trying to construct a complex form in a web2py controller that 
> loops over a query and inserts an INPUT() element in a TD() element. 
>
> Is there a syntax for looping within a helper or should I do this some 
> other way? 
>
> Thanks!

Reply via email to