When I iterate through the controller as this:
def return_post:
form = SQLFORM(db.post)
for c in form:
form1= post.body
form2 = form1.split()return dict(form2=form2)
I get an error that form2 is not defined in the view{{=form2}}.
How do i define this form2?
--
El Wed, 21 May 2014 03:01:46 -0700 (PDT)
Maurice Waka mauricew...@gmail.com escribió:
When I iterate through the controller as this:
def return_post:
form = SQLFORM(db.post)
for c in form:
form1= post.body
form2 = form1.split()return dict(form2=form2)
I get
2 matches
Mail list logo