Re: [web2py] Re: Sending data from view form to controller

2013-10-19 Thread Tim Richardson
A grid means a button to go to an edit form. An inline edit solution is possible but more advanced, not out of the box. On 20/10/2013 3:03 am, "Wonton" wrote: > Hello again! > > After some reading about SQLForm, obviously that's what I need. But since > there are some different options I would

[web2py] Re: Sending data from view form to controller

2013-10-19 Thread Massimo Di Pierro
You use SQLFORM.factory if you want a form not connected to the database. You use SQLFORM.grid if you want to show database records in tabular form. On Saturday, 19 October 2013 11:03:23 UTC-5, Wonton wrote: > > Hello again! > > After some reading about SQLForm, obviously that's what I need. But

[web2py] Re: Sending data from view form to controller

2013-10-19 Thread Wonton
Hello again! After some reading about SQLForm, obviously that's what I need. But since there are some different options I would like to choose the correct one. For my case, should I use a SQLForm.grid or a SQLForm.factory()? And in the case of using a grid, is it posible to have a select list (

[web2py] Re: Sending data from view form to controller

2013-10-18 Thread Wonton
Thank you very much Tim!! I didn't even consider this posibility. It seems that it's what I was looking for. I will try it. Kind regards! On Friday, October 18, 2013 3:56:43 AM UTC+2, Tim Richardson wrote: > > You are doing this the really hard way, I think. > If you read the book a bit more yo

[web2py] Re: Sending data from view form to controller

2013-10-17 Thread Tim Richardson
You are doing this the really hard way, I think. If you read the book a bit more you will discover web2py's built-in forms. Probably you should use SQLFORM. This means you do all the coding in the controller. Behind the scenes, SQLFORM will create a variable which contains the HTML to display the