educational

75 views
Skip to first unread message

Wep2buy

unread,
Apr 2, 2021, 8:59:44 PM4/2/21
to web2py-users
Hi,

How can i have an application, that interrupt the users (entering data through form) and doing saving/submitting of the current content of the form?

For example, allowing the entry of data for certain period of time. at the end of that period, the current content of the forms needs to be collected.

Any idea is appreciated.

You have a good day.

Clemens

unread,
Apr 16, 2021, 2:29:29 PM4/16/21
to web2py-users
I would realize this via ajax reacting as long as the time is not over. Just have a look on the wiki example in the web2py documentation:
There the the search controller def search() combined with callback action def callback() gives you a blueprint on how to do it.

Regards
Clemens

Wep2buy

unread,
Jul 6, 2021, 5:20:10 AM7/6/21
to web2py-users
Thank you.
Reply all
Reply to author
Forward
0 new messages