thanks a lot Justin, I have now the right block ..
But can you resume what the differences are between a normal block and a code block, so I can learn my lesson !
the logic ones .
For the usage I acknowledge that
and the last question of the day ( update not yet ) :
from the attached block have the last id, I presume that there may be problems if there are more than one ..
I suppose I will be answered "if it too complex, bring the logic inside your extension .."
If it is not mine, Have I to build another one ? In this case, how do I tell the dependency ?
you may put a link under save-example.png, "Have a try ... here is the solution