Steve Posted March 27, 2017 Report Share Posted March 27, 2017 New to Caspio. My questions: Can your tell me how or if their is an video or article on how I can set up some Javascript code to execute when a User clicks or double clicks on a line on a report. I need to count the line click and send the user to the hotels website that is on the line that is clicked. How will my JavaScript code in the footer be notified when there is a click on a line on the report? I appreciate any help on this. Quote Link to comment Share on other sites More sharing options...
MayMusic Posted April 10, 2017 Report Share Posted April 10, 2017 If you have a a list or gallery report you can add HTML Block before all selected fields in your report page , disable HTML editor in advanced tab and open a hyper link tag. <a href="[@field:URL]" style="cursor:pointer; text-decoration: none;"> And add another HTML Block at the end of the list, disable HTML editor in advanced tab and use this code: </a> It will create a hyper link of the record to the website. You need to replace [@field:URL] and select the field that keeps URL from the picker Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.