When creating a new record with smartgrid, the the 'onvalidation' function cannot give the
form.vars.id
is since the record is not created yet.
I understand that the onvalidation para allow to control what happens before the form is accepted, but I confess I couldnt' find a kind of 'after_validation'.
In fact, I'd like to create and insert thumbnails automatically when creating new record. For this, I neew the id of the record, just after creation, as for instance described at the page 145 of the book 'web2py application development cookbook' of Marino Reingart, Pablo Martin Mulone, Massimo Di Pierro, Bruno Cezar Rocha, ... ,in the function '
:
make_thumbnail
Thanks in advance for any help!