Reload Gravity Forms on page change #899
Unanswered
gonzalo-terrahq
asked this question in
Help
Replies: 2 comments
-
You should post your question on the Support Forums of Gravity Forms, as it‘s not directly related to swup itself (only due to the fact that swup converts your website into a single page app). we would be grateful if you could report back on the solution, should you find one. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@gonzalo-terrahq did you ever find a solution to this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe your problem 🧐
Hello, I am using the Gravity Forms plugin and the Swup library for transitions between pages. Everything works correctly for me on the first load, but when changing I receive an error in the console
(cannont read Properties of undefined reading 'defaultPrevented')
.I would like to know if there is any way to reinitialize Gravity Forms and its scripts to apply it to the Swup ContentReplaced hook. In the case of Contact Form 7 I have used
wpcf7.init()
, but in this case I cannot find anything similar.Thank you.
What is your question? 🙋♀️
How can I ensure that Gravity Forms runs after changing pages?
URL to minimal reproduction 🔗
https://codepen.io/Gonzalo-Alcina/pen/YzbPbdO
Checked all these? 📚
Beta Was this translation helpful? Give feedback.
All reactions