Solved

NaN bug inside support widget header.

I have embedded the FreshDesk popup widget in my app. We specify the popup's header to be "Support Ticket", but when it appears, it says "Support TicketNaN". (screenshot attached).


 The code we use looks something like this (I've only included the javascript part):  

FreshWidget.init("",{"queryString": "&widgetType=popup&formTitle=Support+Ticket&submitThanks=Thanks&searchArea=no",
"widgetType": "popup",
						"formTitle": "Support Ticket",
						"buttonType": "text",
						"buttonText": "Support",
						"buttonColor": "white",
						"buttonBg": "#14CDEB",
						"alignment": "4",
						"offset": "650px",
						"submitThanks": "Thanks for submitting this support ticket, we will look into it as soon as we can",
						"formHeight": "550px",
"url": "http://oururl.freshdesk.com"});
						

   


Somewhere a javascript error is occurring when it tries to calculate a number.

This NaN looks crappy. How can I hide it?


1 Comment

Jeremiah, 


Thank you for reaching out to us over here. 


Can you please pass me the URL where you have posted your widget so that I can check further on this? 


Anna