If I understand correctly you could use onvalidation.
Example:
def your_action():
def funcx():
# code that runs after validation
...
if form.accepts(..., onvalidation=funcx):
...
On Jan 22, 10:51 am, leone <[email protected]> wrote:
> I have a SQLFORM.factory with a Field that requires a custom class to
> incremet a value.
> It runs, but I can't understand how I can udate the field value after
> form.accepts and before form is exposed.
> Have same example?
> Thanks
> leone
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.