http://web2py.com/books/default/chapter/29/07#Custom-forms

You can also write a custom formstyle function -- not documented yet, but 
for an example, see 
https://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#780.

Anthony

On Friday, April 19, 2013 6:04:54 PM UTC-4, lucas wrote:
>
> hello one and all,
>
> i am quite used to using SQLFORM to present my database tables.  say i 
> have two fields, the normal SQLFORM will show those two fields as two rows 
> in a table, that is fine, but i have a modification i need on that.
>
> how can i present those same two fields as a single row in the table with 
> one label then the edit for the first edit field to the label's right, then 
> the second edit field to the first's right, and then say the comment on the 
> far right?
>
> is there a way to pass the SQLFORM object from the controller to the view 
> and then have the view pick and choose the fields in the view.  sort of a 
> deconstruction of the form and then reconstruct it to the exact TDs of the 
> table?  it might be more work, but i am willing if it gives me the exact 
> look i want.
>
> thanx in advance.  lucas
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to