SOLVED

Re: Form not submitting the second time

Go to solution
mohitvaja22
Level 1

Hi there, 

 

I am having issues with the form not submitting the second time. Here is a link to the live page - https://www.navex.com/en-us/navex-next/ 

The form opens up in the modal and the XDFrame has not been removed. I am also using Google recaptcha on the forms. 

Please let me know if you require any further details. 

1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator

The cause is the reCAPTCHA field (i.e. user fingerprint) not being attached on the 2nd and subsequent form submissions, as you can see in the response:

 

SanfordWhiteman_0-1724775855666.png

 

Right now, you are loading the form multiple times. Don’t do that: you must re-lightbox the form that’s already loaded.

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

The cause is the reCAPTCHA field (i.e. user fingerprint) not being attached on the 2nd and subsequent form submissions, as you can see in the response:

 

SanfordWhiteman_0-1724775855666.png

 

Right now, you are loading the form multiple times. Don’t do that: you must re-lightbox the form that’s already loaded.

mohitvaja22
Level 1

Hey Sanford, 

 

Thank you for your reply, are you able to point me to any documentation or etc just so I can forward this to my developer? Thank you.

SanfordWhiteman
Level 10 - Community Moderator

Thank you for your reply, are you able to point me to any documentation or etc just so I can forward this to my developer? Thank you.

I think it should be clear to them if you say “don’t run MktoForms2.loadForm() more than once, reuse the existing form object.”

Ishita_Chawra
Level 3

 Hi @mohitvaja22

Can you provide more details about what issue/notifications you're getting when resubmitting.

I tested (3) times and didn't get any visible error or notifications. 

mohitvaja22
Level 1

Hey I**bleep**a, 

 

So the steps to replicate the issue are:

 

- Visit this page https://www.navex.com/en-us/navex-next/

- click on save your spot button in the hero

- will load form

- click on close icon

- click on save your spot button in the hero again

- will load form again

- fill out the form

- form will throw an error. 

 

Thanks.