Is the form submitting to same controller perhaps? Then it would just return another form which is what you are experiencing.
On Jan 25, 10:00 am, Khaled ElAdawy <elad...@gmail.com> wrote: > I created a controller function that could be called through ajax and > returns a SQLFORM. > I've got the form to appear on the page, but the SQLFORM doesn't work > as it should. > When I submit information from the view that the generated content has > been placed into, > the page refreshes and nothing is inserted/updated in the database. > When I call the controller function directly, it works fine and the > submitted > data is inserted/updated in the database properly. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.