Hi, in my default.py i have a simple function:
def edit_posts(): form=SQLFORM(db.postos, request.args(0)).process() return dict(form=form) On my posts page, i have a table of all posts with a button, that calls a SQLFORM with a jQuery load, like this: <button class="btn btn-lg" onclick="$('.content').load('{{=URL('default' , 'edit_posts', args=post.id)}}');"> Edit </button> Until here, everything works ok. But the problem is, i canot update a post over this form. SQLFORM, whic is shown ad default/edit_posts/post.id works without problem. What am I missing here? Best, Kristjan -- 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.