if i have a page with a contact form, after sending an email is possible to redirect the customer on another page? (instead of “Thank you #, message sent!”).
I need it for google adwords and for a future site area.
Yes this is possible, however we haven't implemented it yet. So here is what you need to do in order to implement it:
1. Download this file and replace it in this directory (of the theme): /assets/js
2. Go to Theme Options > Footer > JavaScript & Tracking Code, and then add the following code in Footer JavaScript:
jQuery( document ).ready( function( $ ) { jQuery( document ).on( 'kalium-contact-form-success', function( ev, formData ) { // after contact form is successfully submitted
window.location.href = 'http://your-next-url.com'; } ); } );
If you don't see the change immediately, please hard-refresh your browser (CTRL/CMD+R) because it takes longer to load the changes, as they are saved in browser cache. Another option is to open new private/incognito window and try if it works.
If you like our theme, it would help us a lot if you could give us five star rating on themeforest from your Downloads tab, (if you don't know how, just open this link).
A huge thank you from Laborator in advance and have a great week :)
Hi, a question about the contact form.
if i have a page with a contact form, after sending an email is possible to redirect the customer on another page? (instead of “Thank you #, message sent!”).
I need it for google adwords and for a future site area.
Thank you, Rocco
Hi Rocco,
Yes this is possible, however we haven't implemented it yet. So here is what you need to do in order to implement it:
1. Download this file and replace it in this directory (of the theme): /assets/js
2. Go to Theme Options > Footer > JavaScript & Tracking Code, and then add the following code in Footer JavaScript:
If you don't see the change immediately, please hard-refresh your browser (CTRL/CMD+R) because it takes longer to load the changes, as they are saved in browser cache. Another option is to open new private/incognito window and try if it works.
Hopefully this will work the way you wanted.
It works great! :)
Thank you,
Rocco
Hi Rocco,
If you like our theme, it would help us a lot if you could give us five star rating on themeforest from your Downloads tab, (if you don't know how, just open this link).
A huge thank you from Laborator in advance and have a great week :)