Hi.
I have a default form that is passed in view: {{=form}}
using this validation and insertion works. but when I use a custom form
none of that works. why?
Also form.process().accepted works only when using default form.
My second question is: when submitting the form I redirect to index, and
Hi
I have a custom comment form:
def comment():
""" create comment form. Every comment is id locked to the specific
post """
#crud.settings.create_next = URL('index')
post=db(db.blog.id==request.args(0)).select().first()
db.comments.post_id.default=post.id
form=crud.create(
2 matches
Mail list logo