Re: [web2py] Cool "formstyle" trick w/Python lambda

2013-08-08 Thread António Ramos
Nice, post it in web2pyslices!!! 2013/8/8 Vinicius Assef > Excellent approach. :-) > > On Thu, Aug 8, 2013 at 3:11 PM, Joe Barnhart > wrote: > > So I'm a control-freak. I mean that in a good way. I discovered the > beauty > > of "placeholders" in forms and just thought "man, I really want t

Re: [web2py] Cool "formstyle" trick w/Python lambda

2013-08-08 Thread Vinicius Assef
Excellent approach. :-) On Thu, Aug 8, 2013 at 3:11 PM, Joe Barnhart wrote: > So I'm a control-freak. I mean that in a good way. I discovered the beauty > of "placeholders" in forms and just thought "man, I really want that!" But > where to hold the placeholder data? And how do I get it to t

Re: [web2py] Cool "formstyle" trick w/Python lambda

2013-08-08 Thread Richard Vézina
Nice Joe! Thanks for the recipe... Until now I was creating custom widget for that, but this seems simpler, because I was getting in trouble sometimes with custom widget when I was requiring to alter a widget or set a differents widget, since I was getting placeholder from a dabase dictionnary tha

[web2py] Cool "formstyle" trick w/Python lambda

2013-08-08 Thread Joe Barnhart
So I'm a control-freak. I mean that in a good way. I discovered the beauty of "placeholders" in forms and just thought "man, I really want that!" But where to hold the placeholder data? And how do I get it to the SQLFORM during form creation? At first I thought about adding YAV (yet another