Change Redirect with Event Loop -> Parameter get lost

m.pradel 13 Jan, 2014
Hello,

I've used the Event Loop Action to load the form again, when someone enter the wrong verification code. Everything works fine, except the hash parameter of the url, which get lost when the event loop was called.

So here is an example:

URL before event loop:
...magic-flyer-mailingverstaerker#muster
(need the parameter '#muster' in the url to open the right tab in the article, with the chronoform)

URL after event loop:
..magic-flyer-mailingverstaerker?chronoform=muster_salesforce_magicflyer-test&event=submit

So, is it possible the keep the url parameter #muster, when the event loop is called?

Like this:
..magic-flyer-mailingverstaerker?chronoform=muster_salesforce_magicflyer-test&event=submit#muster

regards,
Marc
m.pradel 13 Jan, 2014
Hello again,

I 've found out, that it is possible to use the 'Submit URL' in the configuration page to attach the url parameter to the default form action url.

regards,
Marc
GreyHead 14 Jan, 2014
Hi Marc,

I don't think that the Event Loop is capable of handling a # fragement identifier. You could use a ReDirect User action instead if the URL is fixed; or a Custom Code action if you need variable elements:
<?php
$app =& JFactory::getApplication();
$app->redirect('http://example.com?xxx=aaa#zzz');
?>

Bob
This topic is locked and no more replies can be posted.