def update_form(table,nxt)
form=crud.update(table,request.args[0],next=(URL
(r=request,f=nxt)))
form[0][-1][1].append(INPUT
(_type='button',_value='Cancel',_onclick='javascript:history.go(-1)'))
return form
On Jun 23, 1:20 pm, annet <[email protected]> wrote:
> Massimo,
>
> Perfect.
>
> I also had a look at my update functions
>
> form=crud.update(db.adres,request.args[0],next=(URL
> (r=request,f='crud_address')))
> form[0][-1][1].append(INPUT
> (_type='button',_value='Cancel',_onclick='javascript:history.go
> (-1)'))
>
> I tried:
>
> def update_form(table,nxt)
> form=crud.update(table,request.args[0],next=(URL
> (r=request,f='nxt')))
> form[0][-1][1].append(INPUT
> (_type='button',_value='Cancel',_onclick='javascript:history.go(-1)'))
> return form
>
> But it doesn't work, do you know why not?
>
> Kind regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---