---
title: "Adding a Send Feedback link to Your Online Help / RoboHelp Project"
date: 2007-12-07
description: "$( document ).ready(function() { // Handler for .ready() called. $('#toc').toc({ minimumHeaders: 3, listType: 'ul', showSpeed: 0, headers: '#content h2, #content h3, #content h4, #content h5, #content h6' }); /*..."
canonical_url: https://idratherbewriting.com/2007/12/07/adding-a-send-feedback-link-to-your-online-help-robohelp-project/index.html
---

> For AI agents: a documentation index is available at https://idratherbewriting.com/llms.txt. Markdown versions of all pages are available by appending .md to any page URL.

# Adding a Send Feedback link to Your Online Help / RoboHelp Project

I was reading an article in a previous STC Intercom magazine about how to add a Send Feedback link to your online help project, but the javascript didn't work. Here's an alternative method that does work. This Send Feedback link grabs the page title and URL and includes it in the e-mail that the user sends.

The method below describes the integration using RoboHelp, but the principles apply to almost any online help editor.

To add a Send Feedback link in your RoboHelp project:

1. Right-click the Templates folder and create a new template (or access an existing one). Then expand the footer section and put your cursor where you want the link inserted.
2. In RoboHelp 7, go to Insert > HTML > Advanced > Scripts. Insert the following code:

> document.write("<a href="mailto:(email address hidden)?subject=Application Name | " + document.title + " | " + location.href + ""> Send Feedback</a>") ;

This will put the page title and URL in the subject of the e-mail. However, I had some problems with character limits, so here's an alternative script that puts the URL in the body of the message.

> document.write("<a href="mailto:(email address hidden)?subject=Application%20Name%20("+document.title+")%20%20File:%20"+location.href+"">Send Feedback</a>");

The link will now appear in every one of your topics that uses the template.

If you aren't using the Insert > HTML > Advanced > Scripts method to insert the code, then you need to include script tags around the statement.

> <script type="text/javascript">document.write("<a href="mailto:(email address hidden)?subject=Sample%20Application%20("+document.title+")&body="+location.href+"%0A%0A"+"">Send Feedback</a>");</script>
>
> <script type="text/javascript"> document.write("<a href="mailto:(email address hidden)?subject=Sample Application | " + document.title + " | " + location.href + ""> Send Feedback</a>") ;</script>

**Note:** In the above scripts, replace (email address hidden) and Sample Application with your own email and application name. Also note that if you copy the text, the characters may not copy as displayed.

How do you gather feedback from your users? I'm interested to hear if you have other scripts or techniques.
