Yes ... too many :(
Here's a 'simple' one:
The database table definition, which I use as a form for input:
db.define_table('scorecard',
Field('offense1', db.player, requires=IS_IN_DB( db, 'player.id',
'%(name)s', zero=T('choose one')) ),
Field('defense1', db.player,
What's wrong with this method -
http://web2py.com/book/default/chapter/07#Custom-forms - you can put the
form widgets wherever you want? Or specifically, how would
better/smarter/proper use of the #id table-field entries help? What would
you like to see in the rendered form HTML that would
I am just a beginner with CSS/HTML, and so maybe I have a misconceived idea
of what CSS can/should do and the right way to use it.
Naively, I thought that I could use the #id=table-field entries in CSS to
control placement/shape of the form elements, and not need to change much
more in the
Take a look to this:
http://martin.tecnodoc.com.ar/default/post/2011/04/13/2_hacking-web2py-sqlform-part-1
I have to make the part 2, to show more complex css form with sqlforms.
2011/7/23 Luis Goncalves l...@vision.caltech.edu
I am just a beginner with CSS/HTML, and so maybe I have a
On Saturday, July 23, 2011 3:06:13 AM UTC-4, Luis Goncalves wrote:
I am just a beginner with CSS/HTML, and so maybe I have a misconceived
idea of what CSS can/should do and the right way to use it.
Naively, I thought that I could use the #id=table-field entries in CSS to
control
Thanks, Anthony!
I still haven't figured it out completely (mostly because I don't know very
much about CSS and someone else is dealing with that part of the project).
Thanks!
Luis.
Also, if you need more control, see
http://web2py.com/book/default/chapter/07#Custom-forms.
On Friday, July 22, 2011 9:59:24 PM UTC-4, Luis Goncalves wrote:
Thanks, Anthony!
I still haven't figured it out completely (mostly because I don't know very
much about CSS and someone else is
On Friday, July 22, 2011 10:29:25 PM UTC-4, Luis Goncalves wrote:
Thanks! Also, I think we need to make better/smarter/proper use of the
#id table-field entries of each field!
Do you have an example?
Anthony
See the 'formstyle' argument:
http://web2py.com/book/default/chapter/07?search=formstyle
On Monday, July 18, 2011 11:04:10 PM UTC-4, Luis Goncalves wrote:
Tables are hard to control in CSS, is there a way to have SQLFORM use divs
or lists instead?
I have seen many(!) posts about
9 matches
Mail list logo