> form=SQLFORM(db.user)
> if form.accepts(request.vars,session,keepvalues=True):
> response.flash="record inserted"
> return dict(form=form)
>
> Notice the keepvalues=True argument of the accepts method.
>
>
> http://www.web2py.com/AlterEgo/defau
Dear Web2Py developers,
Is there any way that I can keep the user input value in the form using
SQLFORM?
Thanks,
Jing
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Re
;)),
>
>
> 2°) Copy tickets.py in controller
>
> 3°) Extract tickets.7z in view
>
> Regards.
>
> El jueves, 30 de junio de 2016, 18:25:19 (UTC-3), Jing Lu escribió:
>>
>> Dear Web2py developers,
>>
>> The admin is blocked by the apac
OK, i figure it out by adding a hidden function to generate the form.
On Wednesday, June 22, 2016 at 1:23:56 PM UTC-4, Jing Lu wrote:
>
> Hi Web2py developers,
>
> I have a trivial question, but I don't know how to solve. My index.html
> has a form with some default paramet
Dear Web2py developers,
The admin is blocked by the apache config. If I still want to use admin
account to check error information, what should I do?
Thanks,
Jing
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
Dear web2py developers,
I have two places I want to change in layout.html. One is a left-bar and
one is the main frame. Is there any way to add two ‘include’? Or, is there
any way that I can do something functionally similar?
Thanks,
--
Resources:
- http://web2py.com
- http://web2py.com/boo
Hi Web2py developers,
I have a trivial question, but I don't know how to solve. My index.html has
a form with some default parameters. I get the input from users and save it
to sessions and then redirect them to the next page with the same form
having the input data from users. However, I don't
7 matches
Mail list logo