[web2py] How to create a form from db.mytable, add checkboxes to each row and use form.custom.begin?

2012-04-14 Thread web2py_Superfan
I need to display my form in a customized view with checkboxes I added to each row but it wont let me use form.custom, whats the solution, drivin me nuts? heres my code controller def buy_now_coin_listing(): ''' list all coins in users collection that don't have a for sale listing

[web2py] Re: How to create a form from db.mytable, add checkboxes to each row and use form.custom.begin?

2012-04-15 Thread web2py_Superfan
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. > > >

[web2py] Re: How to create a form from db.mytable, add checkboxes to each row and use form.custom.begin?

2012-04-15 Thread web2py_Superfan
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

[web2py] Re: How to create a form from db.mytable, add checkboxes to each row and use form.custom.begin?

2012-04-15 Thread web2py_Superfan
.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

[web2py] Re: Web2Py compute fields not working on update

2012-06-29 Thread web2py_Superfan
I have a much older build, and I have this issue as well. The compute field gives me an error when I do an update, 'key error' image On Wednesday, June 20, 2012 9:08:31 PM UTC-7, Brandon Reynolds wrote: > > If i am not the only one not having i think it's possible it may be a > web2py bug. I be

[web2py] Re: Web2Py compute fields not working on update

2012-06-29 Thread web2py_Superfan
=mint_order.image_thumb) On Friday, June 29, 2012 5:01:24 PM UTC-7, web2py_Superfan wrote: > > I have a much older build, and I have this issue as well. The compute > field gives me an error when I do an update, 'key error' image > > On Wednesday, June 20, 2012 9:08:31 PM UTC-7, Brandon Reyn