[web2py] Re: Manual error regarding "hidden" fields

2017-05-11 Thread Dave S
On Wednesday, May 10, 2017 at 3:23:08 PM UTC-7, Dave S wrote: > > > > On Wednesday, May 10, 2017 at 11:01:18 AM UTC-7, Joe Barnhart wrote: >> >> "Invalidate".was supposed to be "onvalidation" before autospell worked >> its wonder... > > > :-) > > I'll see what I can do tonight. > > /dps > I

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Dave S
On Wednesday, May 10, 2017 at 11:01:18 AM UTC-7, Joe Barnhart wrote: > > "Invalidate".was supposed to be "onvalidation" before autospell worked its > wonder... :-) I'll see what I can do tonight. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Joe Barnhart
"Invalidate".was supposed to be "onvalidation" before autospell worked its wonder... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Joe Barnhart
It looks like just swapping the lines works. It's the simplest example of using hidden fields and it works even in my more complicated case. I was hoping to be "clever" and doing something in "invalidate" after the form was validated but before it was stored. But the logic in the "validate"

Re: [web2py] Re: Manual error regarding "hidden" fields

2017-05-09 Thread Nico Zanferrari
Well, if you have found this one - really hidden in the manual - I think that mastering github is a piece of cake ;-) Cheers, Nico Il 09 Mag 2017 20:52, "Dave S" ha scritto: > > > On Tuesday, May 9, 2017 at 11:08:22 AM UTC-7, Joe Barnhart wrote: >> >> It's embarrassing

[web2py] Re: Manual error regarding "hidden" fields

2017-05-09 Thread Dave S
On Tuesday, May 9, 2017 at 11:08:22 AM UTC-7, Joe Barnhart wrote: > > It's embarrassing to admit, but I'm really clueless when it comes to > collaborating using git. I had barely mastered hg before the change and > I'm only able to figure out basic checkout-checkin stuff with git or I'd >

[web2py] Re: Manual error regarding "hidden" fields

2017-05-09 Thread Joe Barnhart
It's embarrassing to admit, but I'm really clueless when it comes to collaborating using git. I had barely mastered hg before the change and I'm only able to figure out basic checkout-checkin stuff with git or I'd contribute more. I'm more of an old-school programmer who cut his teeth on

[web2py] Re: Manual error regarding "hidden" fields

2017-05-09 Thread Anthony
Good point. Maybe submit a PR to the book repo. On Monday, May 8, 2017 at 5:07:01 PM UTC-4, Joe Barnhart wrote: > > In the section about SQLFORM, the description of hidden fields is > demonstrably wrong. The code example is: > > form.vars.a = request.vars.a > form = SQLFORM(...,