hristian.dimov wrote:Is there any way to know when the contact form is sent? I need to track the event, but only IF the form is successfully sent.
Hi,
Yes, there is an event when the form is successfully sent. However, this event is used also when a new review is submitted. The event is called "quickTabsRefreshedTab". Would that work for you?
Hello.
This works. How would i write the function?
Hi,
you can do something like this:
$(document).on('quickTabsRefreshedTab', function(){ /* Enter your code here */ });
Hope this helps!
Are you sure this method will run after the contact form is posted?
I did a alert(), but i didnt run.
Hi,
yes, I'm sure. I tested it before posted it here.
Where do you place the code?
Hi,
Forgot to mention that this is available only in the 3.70 and 3.80 version of the plugin. It was added on July 18, 2016, so if your NopQuickTabs product version is below 21042, you need to update the plugin ( and of course if you are using 3.70 or 3.80 ).