Jump to content

Reporting a single click or double click on a line on a report.

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...

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:


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

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...