Ive bought the book, ive read it and watched the massimo videos. ill read 
it again in case im missing something, maybe i should use SQLFORM.grid() or 
something.

ive used {{=form.custom.begin}} to write where that form is submitted and 
{{=form.custom.end}} to get the token. If the action or token shouldnt be 
what they are then custom forms arent right.

record is None when theres no id submitted so im returning 
SQLFORM(db.agencias, None) the first time. If i need to update a record, id 
and post_vars are present and the form is SQLFORM(db.agencias, record)

Its a simple form that gets 2 different tokens and thats why you have to 
submit it twice. It doesnt make much sense, tokens are something im not 
handling. If i view the source code, they match but if they are printed in 
the view they dont.

Isnt this a bug?

Thanks

-- 
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.

Reply via email to