Articles

How To Add A "View Form" Button Into A Pivot Table

Follow

To add a link to each Form into your Pivot Table, follow these steps. This process will create blue "View Form" buttons that are clickable in Analytics. If you need clickable links in a PDF copy of your Dashboard, click here

Note:  It is very important to follow the steps in order. It will not work otherwise.

"View Form" buttons can only be added to Pivot Table Widgets.

1. Select the Edit Button (Edit_Button.png) at the top right corner of your Widget or create a new Widget.

2. Select the "+" button next to "Rows" in the left-hand column.

Screen_Shot_2020-08-21_at_3.20.23_PM.png

3. Select "Form URL" or "Follow Up Form Url" from the Form Details section of the General Data list. To find it quickly, use the search bar!

Screen_Shot_2021-07-07_at_9.53.54_AM.png
4. Click theApply_Button.pngbutton to add the HTML version of Form URL into your dashboard.

Now we're going to hyperlink the HTML Form URL. Click the Edit Button (Edit_Button.png) in the top right corner of the Widget you just saved.

5. Select the Menu button (Screen_Shot_2020-08-21_at_3.28.53_PM.png) in the top right corner and select "Edit Script" from the drop-down menu. This will open a new, separate tab in your Internet Browser.

Screen_Shot_2020-08-21_at_3.29.47_PM.png

6. In the new Edit Script window, replace the existing script with the following (feel free to copy and paste). This code will hyperlink the HTML Form URL to say "View Form":

widget.on('ready', function(){
var tags = $('tbody span:contains("<")');
for(var i = 0; i<tags.length; i++){
$(tags[i]).replaceWith(String(tags[i].textContent))
}
});

7. Once the code is pasted in click the Screen_Shot_2020-08-21_at_3.34.49_PM.pngbutton, then go back to your dashboard and click Apply_Button.pngto save these changes. Then refresh the page to see your new "View Form" links!

 

This is one of the more complicated features in Analytics, so if you have any questions, contact Support at support@sitedocs.com!

Was this article helpful?
0 out of 0 found this helpful

Comments