Cant activate javascript action on click

0
Whenever I click on a buttom that uses nanoflow that uses javascript action, I get this message:     This is how my javascript action and my nanoflow look like:    
asked
1 answers
2

Hi abd,

you have written you custom code in wrong place. You should write you custom code where it is mentioned begin user code.

And for checking which error you are getting you can implement error handling and using log activity log the error.

Thanks,

answered