I had working code that could reset my form when I click on a reset button. However after my code is getting longer, I realize that it doesn\'t work anymore.
Here is simple solution with Jquery. It works globally. Have a look on the code.
$('document').on("click", ".clear", function(){ $(this).closest('form').trigger("reset"); })
Add a clear class to a button in every form you need to reset it. For example:
Clear