I have an image stored in a clob field, but have a requirement for the user to able to click on a smaller verison of the image and then call another part of the application, but the image is differnet in each case. This is within a grid.

Unfortunately, the image component in Formspider does not have a click event. You can put a hyperLink component or a button next to the image to navigate the user to the desired state in the application.

When using a <hyperlink> tag can someone tell me if the <click> event is supposed to fire, so that if I have an action associated with that event it should fire when I click the link? If it is supposed to fire does it fire after the hyperlink or before?

What I mean is, I have the hyperlink based on a column and this column has say google.co.uk in it, I also have 2 events <click> and <rightclick> associated with the hyperlink. When I run the app I can right click on the link and the <rightclick> event fires immediately, however the <click> event "appears" to fire after the navigation to google.co.uk has happened.

Can you create a sample application with the issue and paste its XML and SQL here please? I did a small test and it all seems to work for me. The URL that the hyperLink points to opens and the click event fires. If you think this needs urgent attention, please open a support request.

I think I figured out what you did to make it work. (The href trick :-) )

This is not how Formspider supposed to work. You are actually exploiting a bug. We strip out most of the tags inside attribute values because of security reasons. So even if it this worked, we would have patched the bug eventually.

So we are back to where we started I guess. Unfortunately, Formspider does not have clickable images yet. My workaround recommendation is to have an unclickable image and a clickable hyperLink next to it.

I basically looking for ways to work round my current issue. I found that using the <hyperlink> tag I can put this HTML <a href=""><img src="someimageurl"></a> in the column on the DB, that means the image displays correctly when the app runs, but obviously the link goes know where. I was then hoping to use the <click> event to redirect the user to parts of the app based on what image is diplayed if any.

unfortunately the <click> event doesn't seem to fire unless the link is valid.... however the <rightclick> does fire, but using the right mouse button to click links/buttons isn't a good idea.

If this work around had worked ie the <click> event fired regardless of whether there was a link or not (like the <rightclick> event currently does.... it would have meant I could have had differnet images per row and they still would have been clickable.

But doesn't look like its gonna work.... so...

My next idea was to have it on a button.... but is it possible to set a button visible or enabled at row level in a grid, ie depending on some column value disable or enable a button diaplyed in a grid?

Sorry if I'm asking a lot of questions, but just trying to give the users what they are asking for on this first Formspider project for our company.