On Saturday, July 2, 2016 at 8:35:27 AM UTC-4, isi_jca wrote:
>
> Hi!!!
>
> Try using
>
> ajax('{{=URL('insert_data')}}',['opt1','opt2','opt3','txtt1'],':eval');
>That doesn't seem relevant to the question. OP has the form values in several lists and just needs a way to iterate over the lists to insert each set of values. Dave's suggestion to use len(request.vars.opt1) to get the length of the list should work. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

