How to make an HTML Image clickable?

I never needed to do this before, and always just assumed that it could be done, but how the heck do I make a user defined field/HTML Image clickable?

I really want it to run some javascript, cuz I need to do some client side tweaking when it is clicked.

I can see where it can be linked to another app. Not good for my needs.

I could force HTML code into it from javascript (innerHTML). Really messy.

I cannot believe that there is not an easy way to make it clickable via scriptcase.

Dave

Hi,
create a custom field of type label.

“<img src=‘path_to_your_image.png’ onclick=‘my_js_function()’/>”;

jsb

jsbinca,

Worked good, thanks!

Dave