Answered

Is there a way to show the Feedback widget with a custom button.

I want to use the feedback widget, but I don't want the standaard button. I want my own button for styling and placement, but when pressed the feedback widget should show. 


I've tried to used the embedded widget in a dialog, but I always get a text area for the question with a height = 0


Thx

-Aad


Best Answer

Aad,


If you set the offset of the button as, say, -1500px, that should make the button disappear. Your code should look something like this:


<script type="text/javascript"> FreshWidget.init("", {"queryString": "&widgetType=popup&screenshot=no", "widgetType": "popup", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "backgroundImage": "", "alignment": "4", "offset": "-1500px", "formHeight": "500px", "url": "https://{{yourcompany}}.freshdesk.com"} ); </script>


And you can trigger the widget with this: <a href="#" onclick="FreshWidget.show(); return false;">Submit Feedback</a>


Hope this helps!


Answer

Aad,


If you set the offset of the button as, say, -1500px, that should make the button disappear. Your code should look something like this:


<script type="text/javascript"> FreshWidget.init("", {"queryString": "&widgetType=popup&screenshot=no", "widgetType": "popup", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "backgroundImage": "", "alignment": "4", "offset": "-1500px", "formHeight": "500px", "url": "https://{{yourcompany}}.freshdesk.com"} ); </script>


And you can trigger the widget with this: <a href="#" onclick="FreshWidget.show(); return false;">Submit Feedback</a>


Hope this helps!

Is there a way to have a customer hit submit button and direct them to another page?

Hi I want to pass a variable to FreshWidget.show(). Is it possible?

Sorry guys, Not possible for both Savinay's and Chris's query

Cool, thanks. 


This works perfectly.

Not a problem! :)