Button in Script Report

Hello everyone! I am working on this usecase wherein I manage to put “Button” in a script report using an HTML tag. When button is clicked, it supposed to update a field in a particular window. The thing is, it won’t worked when clicking but it works when I reload the page and all lines triggers the ‘click’ event. Any idea on how to go over this? Here is how I inserted my button tag :

receive = "<button type ='button' onclick = %s >Receive</button>" % (

update_docket(name) is supposed to be the function it will call after clicking.

Here is the report:

Any thoughts is greatly appreciated. Thanks a lot.


hi @funtasho can you please share the code with me i m looking for this feature as well.


1 Like

Similar: Add button to script report