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" and "accept" functions effectively block that.
So just swap the lines and the manual is back to being perfect! -- Joe -- 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 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.