Trigger second event () Add Event

tullski 11 Nov, 2013
Hi,

i have a form with just one field, which should redirect the user to different page ...
The field contains a variable, which is passed on.
The url opens in a new browser window.

setup is like this
On Submit:
Email
Redirect Url
Redirect User

This is all working.

For better understanding this is the live link
http://www.instantmedia.de/design-muenchen

Now i want to show a thanks message on my page.
Where do i trigger the Show Thanks message?
Tried after Email and also on a second Add Event ... which isnt working.

Any ideas?

Thanks
t
GreyHead 11 Nov, 2013
Hi tullski,

If you are ReDirecting the user then a normal Thank You page will never get displayed because you are sending them off somewhere else.

There are two choices: you can use a Joomla! System Message (there's an action that will show one); or you can use a normal Thank You message and then redirect the user either on a button click or after a period of time. The System Message is probably the simplest and most reliable.

Bob
tullski 11 Nov, 2013
Hi Bob,

order is of course like this
On Submit:
Email
(Show Thanks Message)
Add System Message
Redirect Url
Redirect User

The message should show before redirecting ... but nothing appears ...

best
M
GreyHead 13 Nov, 2013
Hi Tullski,

Yes I understand but the ReDirect User action will still prevent the Thank You page from showing :-(

Bob
tullski 13 Nov, 2013
Hi Bob,

ok. But how can overcome this problem.
With a second event?

best
t
GreyHead 13 Nov, 2013
Hi Tullski,

There are two choices: you can use a Joomla! System Message (there's an action that will show one); or you can use a normal Thank You message and then redirect the user either on a button click or after a period of time. The System Message is probably the simplest and most reliable.



Bob
tullski 13 Nov, 2013
:D
Ok. But as discussed before. Thank you page wont work.
And system message also wont show ... only after reloading page.
So both ways wont work...

best
t
GreyHead 13 Nov, 2013
Hi Tullski,

Both methods will work OK if you set you form up to use them.

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

VPS & Email Hosting 20% discount
hostinger