I use ninja forms plugin in wordpress. I submit the form successfully, get a message about it. Everything fine. But if after it I fill the form again and submit, the page is reloaded, but before that data is submitted and fields with values are added to URL of the site. My question is how can I send the form many times without page reloading?
I have tried reset the form after submit in this:
jQuery(document).on('nfFormSubmitResponse', function(event, response) {
Or catch onsubmit:
jQuery(foorm).on('nfFormSubmit', function(event, formData) {
or
jQuery('.nf-form-layout form').on('submit', function(event) {
Thank you!