Hi Furqan,
it´s much easier to create a new topic then use somebody elses topic to
ask a new question. You´ll probably even get faster answers.
I´m not 100% sure I understand your question, but is it so that you want
to have two or more forms on one page? If so please read:
http://web2py.com
Just a conceptual question for forms, sorry Kenneth that I am asking further
question instead of trying to answer your question. I am newbie as well.
Lets say we have 2 functions that create forms on two different view pages
or same page and in controller we have 2 functions returning form
dictiona
I have this controller function (simplified to make it easier to read):
def testing():
statuses =
db(db.t_status.f_company==1).select(orderby=db.t_status.f_status)
form = SQLFORM(db.t_ticket)
form.vars.f_status = statuses[0].id
if form.accepts(request.vars, session):
res
3 matches
Mail list logo