Greetings,

How can i do this put keepvalues=True when i use the function
crud.create()

i already try:

### CODE ###

form = crud.create('databasedp',onvalidation=lambda form:r(form))

def r(form):
   if form.accepts(request.vars,session,keepvalues=True):
        response.flash="Accept form"

### END ###

and

### CODE ###

form = crud.create('databasedp', onaccept=lambda form: f(form))

def f(form):
   if form.accepts(request.vars,session,keepvalues=True):
        response.flash="Accept form"

#### END ####

But nothing of this work :( any ideas?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to