[ad_1]
when I add js function in custom code in gravity form settings how can add onclick option to button HTML side? when I try to do it manually I get this error
**”Uncaught ReferenceError: funcName is not defined at HTMLInputElement.onclick”** any suggestion on how to apply it correctly?
[ad_2]
el.addEventListener(‘click’, function);