How to stop from refreshing the page on track_forms? #416
Unanswered
maqboolmudasir8
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am using mixpanel-browser in next.js, and I'm tracking a form during initialisation.
I'm facing an issue that whenever the form is submit, the page refreshes automatically, I used preventDefault() but still page refreshes.
Can you please guide me how can I stop the page to refresh?
My code:
init file code:
signUp file code:
Beta Was this translation helpful? Give feedback.
All reactions