window.SupportPage = React.createClass({ render: function () { var support_space = null; var support_warning = null; if(gon.has_support) { var display = 'Unknown' for (var plan in gon.global.subscription_codes) { if ( gon.global.subscription_codes[plan].id == gon.plan_code ) { display = gon.global.subscription_codes[plan].name } } // You just need to add '&disable[fieldName]=true' or '&disable[custom_field][fieldName]=true' depending on whether the field is default or custom. var src = `https://jamkazam.freshdesk.com/widgets/feedback_widget/new?&helpdesk_ticket[requester]=${encodeURIComponent(gon.email)}&disable[requester]=true&helpdesk_ticket[custom_field][cf_plan_1596882]=${encodeURIComponent(display)}&disable[custom_field][cf_plan_1596882]=true&widgetType=embedded&formTitle=JamKazam+Support&submitTitle=Send+Feedback&submitThanks=Thank+you+for+your+message.+We+will+use+our+best+efforts+to+reply+within+24+hours.` // helpdesk_ticket_cf_plan_1596882 support_space =
} else { if(gon.in_trial) { support_space=
The functionality on this page is disabled because you are currently in the free trial period and are not eligible for support.

You can change your plan here.
} else { support_space=
The functionality on this page is disabled because you must have a Platinum or Gold plan to use support.

You can change your plan here.
} } var response =
{support_warning}
The JamKazam help desk offers 1:1 help desk support only to our Gold and Platinum plan subscribers. More information on subscription plans can be found here. If you are not a Gold or Platinum subscriber, we'd suggest that you look for help in our extensive knowledge base of help articles, or check out our user forum to see if other JamKazam users can help you.
{support_space}
return response } })