[web2py] Re: Calling a SQLFORM through AJAX

2010-01-27 Thread Khaled ElAdawy
Many thanks, formname=None have solved the problem On Jan 25, 5:03 pm, mdipierro wrote: > Hard to say without looking at the code. > I assume there is an accepts in the controller. Try call it with > accepts(request.vars,formname=None) > instead of > accepts(request.vars,session) > > On Jan 25, 9

[web2py] Re: Calling a SQLFORM through AJAX

2010-01-25 Thread DenesL
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 wrote: > I created a controller function that could be called through ajax and > returns a SQLFORM. > I've got the form to appear on

[web2py] Re: Calling a SQLFORM through AJAX

2010-01-25 Thread mdipierro
Hard to say without looking at the code. I assume there is an accepts in the controller. Try call it with accepts(request.vars,formname=None) instead of accepts(request.vars,session) On Jan 25, 9:00 am, Khaled ElAdawy wrote: > I created a controller function that could be called through ajax and