There are many doc events for desk form for client or server side.
But from the documentation I can see only validate and before_insert for the webform.
Is there any other events (most likely the server side) can be used for webform (direct code or via hooks)?
Specifically I’m looking for the equivalent of after_save or after_insert, but the one that saved/inserted by code.
So the scenario is to have a webform for inputting data, the form saved and insert a doc in the doctype, after the doc is saved/inserted trigger a code to run.
EDIT: There is handler
on_update : Called after the document is inserted or updated in the database.
My issue above is a handler that only trigger when the doc is new (after inserted only) and not triggered when update?