Try 'parsely'
http://parsleyjs.org/doc/examples/simple.html
and prompt on page close to save first.
On Wednesday, June 11, 2014 7:43:41 PM UTC-7, Francisco G. T. Ribeiro wrote:
>
> hi all,
> I'm working on an app that uses forms that can be quite long and its users
> often interrupt their sessions for whatever reason and end up losing the
> information already filled. For this and other reasons I wanted to provide
> a different behaviour to these forms where each input field updates the
> record on the database as soon as its input field is released ('focusOut'
> event on jQuery). Ideally, the server would reply with 'success' or an
> error message so users know when they can move on to another field (without
> refreshing the whole page). By the end of the form, the user wouldn't have
> to review things that were written long ago since these were all already
> validated.
>
> Now, I know this can be tricky due to database constrains but because i
> need to do this very often (multiple fields and multiple forms), I thought
> it would be useful to automate it, maybe even by having on the db Field
> something like '..auto_update=True' (merely a suggestion) but before
> getting there, I would like to know if anyone has faced this problem and if
> yes what solution did you employ?
>
> Thank you in advance,
> Francisco
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.