Is it possible to have a clickable image? 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. Cheers Simon |
Hi Simon, 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. Hope this helps. Kind Regards, |
They really want to be able to click the image, you know how users are. any idea why I can't get the <click> event to fire and then call my action? Can get the <rightclick> event to work no problem. Simon |
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. Also, if my column doesn't contain a value the <click> event doesn't seem to fire yet the <rightclick> does. Sorry just trying to understand how this should work, as if the <click> event were to fire I would be able to use this to get round my issue. Hi Simon, 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. Kind Regards,
(20 Oct '15, 04:57)
Yalim Gerger ♦♦
Hi Simon, 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. Kind Regards,
(20 Oct '15, 05:12)
Yalim Gerger ♦♦
|
I basically looking for ways to work round my current issue. I found that using the unfortunately the If this work around had worked ie the 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. |