I think you want FORM(INPUT(_type="submit")) -- Thadeus
On Fri, Apr 16, 2010 at 8:31 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > What is the purpose of a SQLFORM without any field? > > On Apr 16, 3:52 am, Felix <felix1...@gmail.com> wrote: >> Hi, >> I am using the SQLForm, in which I would like to display just the >> submit button. The code works in mac but I am getting an "Index Error: >> list index out of range" error in windows. I am specifying an empty >> list in the fields parameter to hide all the table columns. Is there >> anyother way to do this such that it would work in all the platforms. >> >> SQLFORM(db.user_fav,fields=[],submit_button = 'Favorite this post') >> >> Thanks, >> >> -- >> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en >