Sometimes, your web page design doesn’t lend itself to a feedback button that lays on top of your web page. Instead, you might want to have a link in a drop-down menu that triggers the GetFeedback Digital Feedback form. You can integrate GetFeedback with a custom feedback button.
First, create an HTML element to trigger the GetFeedback web form. This HTML element will start the feedback process instead of the default Feedback Button.
The GIF below shows an example of a custom HTML element.
There are several types of HTML elements that you can add.
For the purpose of this guide, we’ll be using a standard link with some clickable text to leave feedback.
The “hide” command is used for hiding the default GetFeedback Digital Button. Because we’re creating our own feedback button we’ll need to hide the default one. Doing this makes sure we’re not adding multiple feedback buttons when we only need one.
The “click” command is what we’ll use for starting the feedback process. The “click” command simulates the event that would normally occur when someone clicks on the feedback button.
Here’s some sample code you can add to your web page right away to:
To use this code, make sure the GetFeedback installation code has been added to your page. This is required since the “hide” and “click” commands are only available after the GetFeedback installation code has run.