Jump to content

Seeking Assistance for Converting a field in a Tabular Record to Hyperlinks with JavaScript

Recommended Posts

I'm currently facing a challenge where I need to transform a profile name within a tabular record into a hyperlink with specific parameters for the corresponding row's data. However, due to the nature of the tabular record inserted above the page, the profile name isn't initially a website link and can't be formatted as such. I believe the solution might involve using JavaScript to dynamically rewrite the content of the relevant cells upon loading. Any assistance or guidance on accomplishing this task would be greatly appreciated.



Link to comment
Share on other sites

Hello @MarkMayhrai

Here is what you can do without JS:

1. Add HTML block below your Profile name field
2. Using the picker tool in the HTML block, add the profile name field and turn it into a link with the parameters that you need.
3. Add the following CSS code snippet to the header:



tr.cbResultSetDataRow:not([data-cb-name="inlineaddrow"]) td:nth-child(1),
tr.cbResultSetDataRow:nth-child(2) > td:nth-child(2) {
display: none;


This code snippet will hide your profile name column and leave only HTML column.


Caspio - New DataPage 2024-01-22 09-45-44.png

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...