Ok cool, I will try the SQLFORM.factory thing for this form. 

But for other forms where there actually is a real table in use I don't 
want to modify the model like that when I just need to add some extra 
checkboxes.
I don't usually care for the wrapping of table, tr and tds, so is it 
correct that I can just use 

form[0].components.insert(-1, element) (or even better if just 
"form.insert(-1, element)" works, it seems that it does not call 
wrap_components?)

and then in the view:

{{=form.custom.widget.item}}

which I position myself, not using the default table, so I don't need the 
TR(TD( stuff? 
I mean the form should validate the inputs like before and put it in 
form.vars after the form.accepts() right?

Den torsdagen den 31:e maj 2012 kl. 17:10:23 UTC+2 skrev Anthony:
>
> On Thursday, May 31, 2012 11:05:15 AM UTC-4, howesc wrote:
>>
>> is it faster to create a list of Field objects and use SQLFORM.factory()?
>>
>
> That's probably a better approach, for speed and elegance.
>
> Anthony 
>

Reply via email to