Stewart, thanks for sharing such clear example!!!
El 08/05/14 22:51, LaDarrius Stewart escribió:
---controller--
@auth.requires_login()
def test():
a=request.args(0)
form=SQLFORM(db.Notes).process()
form.vars.TestID = a
comments=db(db.Test
---controller--
@auth.requires_login()
def test():
a=request.args(0)
form=SQLFORM(db.Notes).process()
form.vars.TestID = a
comments=db(db.Test.TestID==a).select()
if form.process(formname="somename").accepted:
form.vars.TestID = a
Anthony, thanks for your answer.
Of course, the form is submitted to the parent page... I think that I
should rest a litle and continue tomorrow...
Thanks again for your answer
El 08/05/14 10:10, Anthony escribió:
You should not set ajax_trap=False, as that will cause the form to be
submitt
3 matches
Mail list logo