Thanks again, will give it a shot

On Sunday, April 15, 2012 9:39:32 AM UTC-7, DenesL wrote:
>
>
> You can not just substitute FORM with SQLFORM.
> In your case it is better to stick with FORM and use element to access and 
> modify the table inside the form.
>
> tbod=form.element('table tbody') # the body of the SQLTABLE
> tbod is a list of the table rows, so tbod[0] is the first TR
> and each TR is a list of TDs, so you can append to each the checkbox or 
> anything else you need.
>
> Hope this helps.
>
> On Sunday, April 15, 2012 11:27:19 AM UTC-4, web2py_Superfan wrote:
>>
>> when I change FORM to SQLFORM i get error
>>
>> 'THEAD' object has no attribute 'writable'
>>
>>
>>
>> On Sunday, April 15, 2012 7:58:37 AM UTC-7, web2py_Superfan wrote:
>>>
>>> Thanks a bunch DenesL,  Do you know how I could use SQLFORM and have the 
>>> checkboxes added to each row in the form?  I couldn't figure that out.
>>>
>>> On Sunday, April 15, 2012 7:12:13 AM UTC-7, DenesL wrote:
>>>>
>>>>
>>>> Only SQLFORM has a custom attribute.
>>>> You are using FORM.
>>>>
>>>>  
>>>>
>>>

Reply via email to