Plugin that creates JS script not working on Pro pages

We are using a plugin called GFChart that can read fields from a Gravity Form and chart the data. The plugin works on pages built in the native Wordpress classic or Gutenberg editor, but not Pro pages.

The short code appears to create a and then add the to populate the span along with it. Can Pro handle this sort of “on the fly” script creation?

<span id="gfchart-Calc_chart_11830" class="gfchart-Calc_chart"></span>
<script type="text/javascript">jQuery(document).on('gfchart_object_declared', function(){gfchart_js.charts.push({"chart_type":"Calc","id":"11830","data":["9,461"],"options":{"responsive":false},"location":"","debug":""});});</script>
<span id="gfchart-Progressbar_chart_11831" class="gfchart-Progressbar_chart"></span>
<script type="text/javascript">jQuery(document).on('gfchart_object_declared', function(){gfchart_js.charts.push({"chart_type":"Progressbar","id":"11831","data":{"total":"9460.5","goal":"300000","percent":3},"options":{"format":"currency","formatted_goal":"$ 300,000.00","responsive":false},"location":"","debug":""});});</script>

Hello @501creative,

Thanks for writing in! To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

Account details added to the secure note

Hi @501creative,

Unfortunately, the given credentials are not working. Can you please check and send it once again.

Thanks

Updated the password in the secure not and verified. Sorry about that.

Hi @501creative,

I have visited your website and found the issue on the page you mentioned. I would suggest you update all the plugins and troubleshoot the following common issues.

1.Plugin Conflict
2.CSS/JS Customization
3.Disabling Cache
4.Disabling CDN

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If none of the above helps, please copy your live site to a staging server so we could troubleshoot freely without breaking your live site.
And give us access in the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.