3rd Party JS Causes Blank Page in Pro Editor

I am trying to insert a 3rd party script that embeds a form in a single page. When I insert the script in a text box or content area element the editor page turns white/blank and I must refresh the editor before saving to get back to a working editor.

So, how do I add a script to a page so this will not break the page.

I will add script privately.

Hi @jtoc,

Please try adding the following code to the text element instead:

<script type="text/javascript" src="//cdn.logiforms.com/v3/build/ext/formProxy-min.js"></script>

<script type="text/javascript">
	FormProxy = new FormProxy({
		// user editable
		resizeOnDemand		: true,
	   	scrollTop           : true,
		height				: 500,
		width				: '100%',
		scrolling			: 'no',
		marginWidth			: 0,
		marginHeight		: 0,
		frameborder			: 0,
		vspace				: 2,
		hspace				: 2,
		params				: '',
		// system properties
	   	cookieRedirect      : false,
	   	formviewid          : 0,
		hid					: 338919,
		fid					: 69188,
		eid					: 68397,
		eid2				: 68,
		secureform			: 1,
		rootformurl			: 'https://forms.logiforms.com/',
		mode				: 'standard'
	});
</script>

Hope it helps :slight_smile:

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