WordPress.org

Ready to get started?Download WordPress

Forums

Forms: 3rd-Party Integration
Trouble with Radio Button and Act-On (3 posts)

  1. vewingjama
    Member
    Posted 4 months ago #

    Hello,

    I am trying to create a redirect that includes a radio button that goes through Act-On and then ends up in SalesForce. When the form goes through JUST SalesForce with the radio button, the information passes through to SalesForce just fine. However, when I try directing it through Act-On (which then directs it through SalesForce), nothing shows up.

    I turned on the Debug mode, and this is the error message I received, but I don't really understand what it all means. We've built other forms that go through Act-On that have worked just fine, so I'm wondering if it has something to do with the radio button? Is this something you can help with? Thanks

    *** Service ***
    Array
    (
        [name] => Act-On - Email Preferences
        [url] => http://info.jamasoftware.com/acton/eform/1511/0081/d-ext-0001
        [forms] => Array
            (
                [0] => 13193
            )
    
        [success] =>
        [mapping] => Array
            (
                [0] => Array
                    (
                        [val] => 1
                        [cf7] => Jama Website Email Preferences
                        [3rd] => Lead Type
                    )
    
                [1] => Array
                    (
                        [val] => 1
                        [cf7] => Direct
                        [3rd] => Original Lead Source
                    )
    
                [2] => Array
                    (
                        [cf7] => Email Opt Out
                        [3rd] => Email Opt Out
                    )
    
                [3] => Array
                    (
                        [cf7] => email
                        [3rd] => email
                    )
    
                [4] => Array
                    (
                        [cf7] => cid
                        [3rd] => ao_campid
                    )
    
            )
    
        [separator] => ,
    )
    
    *** Post (Form) ***
    Array
    (
        [_wpcf7] => 13193
        [_wpcf7_version] => 3.5.3
        [_wpcf7_locale] =>
        [_wpcf7_unit_tag] => wpcf7-f13193-p13194-o1
        [_wpnonce] => f18b88bf2f
        [email] => sunshinegirl2478@aol.com
        [optout] => 1
        [cid] =>
        [_wpcf7_is_ajax_call] => 1
    )
    
    *** Post (to Service) ***
    Array
    (
        [Lead Type] => Jama Website Email Preferences
        [Original Lead Source] => Direct
        [email] => sunshinegirl2478@aol.com
        [ao_campid] =>
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [server] => Apache-Coyote/1.1
                [content-type] => text/html;charset=UTF-8
                [date] => Thu, 27 Mar 2014 22:14:59 GMT
                [connection] => close
                [set-cookie] => ACTON=ACTON_101; path=/
            )
    
        [body] =>
    
    <html>
    <head>
    <title>User submit no preview</title>
    
    <!-- SERVER NAME: 101 ON: 101 VERSION: 8.4 Build 2014-03-20 @ 15:46 -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <script type="text/javascript">
    	var contextPath = '/acton';
    </script>
    
    <!-- ========== COMMON.CSS ========== -->
    
    <link rel="stylesheet" type="text/css" href="/acton/common.css">
    
    <!-- ========== IE 6 Transparent PNG Fix ========== -->
    
    <!-- ========== OVERLIB ========== -->
    <script type="text/javascript" src="/acton/overlib.js"  ></script>
    <script type="text/javascript">
    	//	Override overlib styles
    	var ol_fgcolor = "#FFFFFF";
    	var ol_bgcolor = "#999999";
    </script>
    
    <!-- ========== JQUERYUI ========== -->
    
    <!-- ========== JQUERY (REALLY LOAD) ========== -->
    
    <!-- ========== JQUERY (REALLY LOAD) ========== -->
    
    <!-- ========== Acton UI ========== -->
    
    <!-- ========== PROTOTYPE.JS ========== -->
    <script type="text/javascript" src="/acton/prototype.js"></script>
    
    <!-- ========== SCRIPTACULOUS ELEMENTS ========== -->
    
    <!-- ========== COMMON.JS ========== -->
    <script type="text/javascript" src="/acton/common.js?ts=1395360591998"   ></script>
    
    <!-- ========== COMMON.JS OVERRIDES ========== -->
    <script type="text/javascript">
    
    	//	NOTE: This overrides the popupWindow() method in common.js.
    	popupWindow = function (url, w, h, windowName)
    		{
    
    		var left = (screen.width  - w) / 2;
    		var top  = (screen.height - h) / 2;
    
    		var attr = "left=" + left + ",top=" + top + ",width=" + w + ",height=" + h;
    
    	  	attr += ",modal=yes,dependent=yes,resizable=yes,scrollbars=yes,toobar=no,location=no,status=no";
    
    	  	windowName = (typeof windowName == 'undefined') ? (new Date()).getTime().toString() : windowName;
    
    		var newwindow = window.open (url, windowName, attr);
    
    		if (window.focus)
    			{
    			newwindow.focus()
    			}
    
    		return newwindow;
    		};
    
    	openWindow = function (url)
    		{
    		return window.open (url);
    		};
    
    </script>
    
    <!-- ========== MISCELLANEOUS ========== -->
    <script type="text/javascript" src="/acton/jsr/1395360591998/compat.js"  ></script>
    <script type="text/javascript" src="/acton/jsr/1395360591998/sclass.js"  ></script>
    <script type="text/javascript" src="/acton/jsr/1395360591998/swfobject.js"></script>
    
    <!-- ========== JSON ========== -->
    <script type="text/javascript" src="/acton/json2.js"></script>
    
    <!-- ========== SUPPORT FOR STASHING SHARED LIBRARIES IN INDEXTOP ========== -->
    
    	<!-- INHERIT STUFF FROM INDEXTOP -->
    
    	<script type="text/javascript">
    
    		(function(global)
    			{
    			var pendingSafeCalls = [];
    			var pendingRequires = [];
    			var useRequire = false;
    			var requireLoaded = false;
    			function issuePending()
    				{
    				if ( typeof requirejs != 'undefined' )
    					{
    					var config = {
    						baseUrl: '/acton/jsr/1395360591998',
    						waitSeconds: 7
    					};
    					if ( typeof jQuery === 'undefined' )
    						{
    						config.paths = { 'jquery': '/acton/jquery/js/jquery-1.9.1.min'};
    						config.shim = { 'ao': [ 'jquery-private' ] }
    						define('jquery-private', ['jquery'],
    							function(jq)
    							{
    								jq.noConflict(true);
    							});
    						}
    					requirejs.config(config);
    
    					requireLoaded = true;
    					pendingSafeCalls.forEach( function(pending)
    						{
    						requirejs(['ao'],function(ao) {
    							ao.safeCall( pending.method, pending.args );
    							});
    						});
    					pendingRequires.forEach( function(args)
    						{
    						requirejs.apply(global,args);
    						});
    					}
    				else setTimeout(issuePending,100);
    				}
    			function startRequire()
    				{
    				if ( ! useRequire )
    					{
    					useRequire = true;
    					var sTag = document.createElement('script');
    					sTag.type = 'text/javascript';
    					sTag.src = '/acton/jsr/1395360591998/require.js';
    					document.getElementsByTagName('head')[0].appendChild(sTag);
    					setTimeout(issuePending,100);
    					}
    				}
    			global.safeCall = function( method, args )
    				{
    				if ( useRequire )
    					{
    					if ( requireLoaded )
    						require(['ao'],function(ao) {
    							ao.safeCall( method, args );
    							});
    					else
    						pendingSafeCalls.push({method:method,args:args});
    					}
    				else
    					{
    					if(parent != self)
    						{
    						try
    							{
    							parent.safeCall( method, args );
    							}
    						catch(e)
    							{
    							if(typeof console!='undefined') console.log('Dynamically loading require for safeCall: '+e);
    							pendingSafeCalls.push({method:method,args:args});
    							startRequire();
    							}
    						}
    					else
    						{
    						try
    							{
    							opener.safeCall(method, args);
    							}
    						catch(e)
    							{
    							if(typeof console!='undefined') console.log('Dynamically loading require for safeCall: '+e);
    							pendingSafeCalls.push({method:method,args:args});
    							startRequire();
    							}
    						}
    					}
    				};
    			global.hasSafeCall = function()
    				{
    				if( parent == self)
    					{
    					try
    						{
    						return opener.hasSafeCall();
    						}
    					catch(e)
    						{
    						return false;
    						}
    					}
    				try
    					{
    					return parent.hasSafeCall();
    					}
    				catch( e )
    					{
    					return false;
    					}
    				};
    			global.require = function()
    				{
    				var args = Array.prototype.slice.call(arguments);
    				if ( useRequire )
    					{
    					if ( requireLoaded )
    						requirejs.apply(global,args);
    					else
    						pendingRequires.push(args);
    					}
    				else
    					{
    					if(parent != self)
    						{
    						try
    							{
    							parent.require.apply(parent,args);
    							}
    						catch(e)
    							{
    							if(typeof console!='undefined') console.log('Dynamically loading require: '+e);
    							pendingRequires.push(args);
    							startRequire();
    							}
    						}
    					else
    						{
    						try
    							{
    							opener.require.apply(opener,args);
    							}
    						catch(e)
    							{
    							if(typeof console!='undefined') console.log('Dynamically loading require: '+e);
    							pendingRequires.push(args);
    							startRequire();
    							}
    						}
    					}
    				};
    			})(window);
    
    	</script>
    
    <!-- ========== JQUERY (INHERIT FROM INDEXTOP) ========== -->
    
    <!-- ========== AVIARY IMAGE EDITOR ========== -->
    
    <!-- ========== JS CALENDAR (GOTTA GO) ========== -->
    
    <!-- ========== TINY MCE ========== -->
    
    <!-- ========== OUTLOOK CONNECTOR ========== -->
    
    <!-- ========== FUSION CHARTS (NEW) ========== -->
    
    <!-- ========== FUSION CHARTS (XT) ========== -->
    
    <!-- ========== ADDITIONAL METHODS FOR TEXT AREAS ========== -->
    
    <!-- ========== MISCELLANEOUS DEBUGGING AIDS ========== -->
    
    <!-- ========== SIMPLE TABS ========== -->
    <script type="text/javascript" src="/acton/js/SimpleTabs.js"></script>
    
    <!-- ========== MULTISELECT ========== -->
    
    <!-- ========== GOOGLE TRANSLATION ========== -->
    
    <style type="text/css">
    
    	.l6e { }
    
    </style>
    
    <script type="text/javascript">
    
    	var the_towerOfBabel = null;
    	var waitingQueue = [];
    	safeCall( "babel.babel.babel", {window:window, document:document, callbackFn:setTowerOfBabel, server:'http://info.jamasoftware.com/acton'});
    
    	function setTowerOfBabel(theBabel)
    		{
    		the_towerOfBabel = theBabel;
    		the_towerOfBabel.setTargetLanguage(getCookie('l6e'));
    		while(waitingQueue.length > 0)
    			{
    			var nextEntry = waitingQueue.pop();
    			the_towerOfBabel[nextEntry.method](nextEntry.args);
    			}
    		}
    	function doBabelizeNow (response)
    		{
    		if(the_towerOfBabel)
    			{
    			the_towerOfBabel.babelizeNow (response);
    			}
    		}
    	function translateContent(containerId, containerType, callbackFn)
    		{
    		var args = {containerId:containerId, containerType:containerType, callbackFn:callbackFn};
    		var attributeArgs = {containerId:containerId, containerType:containerType};
    		if ( the_towerOfBabel )
    			{
    			the_towerOfBabel.babelize(args);
    			the_towerOfBabel.babelizeAttributes(attributeArgs);
    			}
    		else
    			{
    			waitingQueue.push({method:'babelize', args:args});
    			waitingQueue.push({method:'babelizeAttributes', args:attributeArgs});
    			}
    		}
    	function translateWords(words, callbckFn)
    		{
    		var args = {words:words, callbackFn:callbckFn};
    		if ( the_towerOfBabel )
    			{
    			the_towerOfBabel.babelizeWords(args);
    			}
    		else
    			{
    			waitingQueue.push({method:'babelizeWords', args:args});
    			}
    		}
    	function doConfirm(msg, callbackFn)
    		{
    		var args = {confirmMsg:msg, callbackFn:callbackFn};
    		if ( the_towerOfBabel )
    			{
    			the_towerOfBabel.doConfirm(args);
    			}
    		else
    			{
    			waitingQueue.push({method:'doConfirm', args:args});
    			}
    		}
    	function verifyConfirm(confirmMsg, verifyMsg, callbackFn)
    		{
    		var args = {'confirmMsg':confirmMsg,'verifyMsg':verifyMsg, 'callbackFn':callbackFn};
    		if( the_towerOfBabel )
    			{
    			the_towerOfBabel.doConfirmVerify( args );
    			}
    		else
    			{
    			waitingQueue.push({method:'doConfirmVerify', args:args});
    			}
    		}
    	function doPrompt(promptMsg, defaultValue, callbackFn)
    		{
    		var args = {'promptMsg': promptMsg,'defaultValue': defaultValue,'callbackFn': callbackFn};
    		if ( the_towerOfBabel )
    			{
    			the_towerOfBabel.doPrompt(args);
    			}
    		else
    			{
    			waitingQueue.push({method:'doPrompt', args:args});
    			}
    		}
    	function showMsg(msg, callbackFn)
    		{
    		var args = {'content': msg,'callbackFn': callbackFn};
    		if ( the_towerOfBabel )
    			{
    			the_towerOfBabel.doAlert(args);
    			}
    		else
    			{
    			waitingQueue.push({method:'doAlert', args:args});
    			}
    		}
    
    </script>
    
    <!-- ACT-ON TRACKING BEACON (OLD PAGES TRACKING) -->
    
    <script>
    function trackPreactEvent(event_name) {}
    function trackPreactEventAndRedirect(url, eventName) { document.location = url; }
    function trackPreactEventAndLoadIframe(iframe,url, eventName) {	iframe.src  = url; }
    </script>
    
    <!-- TOTANGO TRACKING BEACON -->
    
    </head>
    <body>
    <h1 align="center" class="fgOrange" style="padding: 30px">Form data not submitted from form preview</h1>
    
    	<h3 align="center" style="padding: 10px">Try: <a href="http://info.jamasoftware.com/acton/form/1511/0081:d-0001/0/index.htm?ao_f=0081&ao_d=0081:d-ext-0001&email=sunshinegirl2478@aol.com&ao_a=1511&Original Lead Source=Direct&Lead Type=Jama Website Email Preferences" target="_blank" title="URL for campaign: Unnamed">http://info.jamasoftware.com/acton/form/1511/0081:d-0001/0/index.htm?ao_f=0081&ao_d=0081:d-ext-0001&email=sunshinegirl2478@aol.com&ao_a=1511&Original Lead Source=Direct&Lead Type=Jama Website Email Preferences</a></h3>
    
    </body>
    </html>
    
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => ACTON
                        [value] => ACTON_101
                        [expires] =>
                        [path] => /
                        [domain] => info.jamasoftware.com
                    )
    
            )
    
        [filename] =>
    )

    https://wordpress.org/plugins/forms-3rdparty-integration/

  2. zaus
    Member
    Plugin Author

    Posted 3 months ago #

    That Act-On thing looks like it's entirely Javascript-based, meaning it requires you to reach it through a browser. A plain HTTP request (which is what Forms-3rdparty does, via something like curl) won't execute any of the javascript on that endpoint.

    You might need to reach out to Act-On to see if they have an API version, rather than a webform.

  3. zaus
    Member
    Plugin Author

    Posted 1 month ago #

    Any luck?

Reply

You must log in to post.

About this Plugin

About this Topic