DMXzone Bootstrap 3 Components Support Product Page
In progress
ReCAPTCHA2 and Form Validator Issues with multiple Modals on single page.
Reported 14 Oct 2016 12:44:41
1
has this problem
14 Oct 2016 12:44:41 Dave Smith posted:
Hi DMX,Having a problem with multiple Modals on the same page..
Problem 1
Multiple ReCAPTCHA2 elements, one per Modal. Does not show the ReCAPTCHA field on Modal 2.
Problem 2
Multiple forms with Validation, one per Modal. Does not show the 'This field is required' warning underneath the respective fields on Modal 2. The form will not submit however.
Also when Modals are opened several times during editing in Dreamweaver via the Components Inspector (using the eye dropper icon) a Javascript error is displayed (below image). I have to close down Dreamweaver and reopen it for the error to disappear.
Any help appreciated!
Thank you kindly.
Replies
Replied 14 Oct 2016 13:04:24
14 Oct 2016 13:04:24 Teodor Kuduschiev replied:
Hello Dave,
Please provide a link to your page.
Please provide a link to your page.
Replied 14 Oct 2016 13:29:06
14 Oct 2016 13:29:06 Dave Smith replied:
Message sent to Support E-Mail Teodor.
Thank you.
Thank you.
Replied 20 Oct 2016 08:29:27
20 Oct 2016 08:29:27 Teodor Kuduschiev replied:
Please check the login details you sent me as i can no longer log into your website ...
Replied 20 Oct 2016 12:39:05
20 Oct 2016 12:39:05 Dave Smith replied:
Sorry Teodor,
I have now reset the password to the one I sent you previously.
Best regards,
Dave.
I have now reset the password to the one I sent you previously.
Best regards,
Dave.
Replied 20 Oct 2016 12:49:14
20 Oct 2016 12:49:14 Teodor Kuduschiev replied:
Question about problem 1 - how did you manage to add 2 recaptchas on the same page?
Replied 20 Oct 2016 13:14:52
20 Oct 2016 13:14:52 Dave Smith replied:
After the Javascript error kept appearing and having to shut Dreamweaver down to alleviate the problem I created the Modals in a separate page and then placed them in to the page I was working on. Also the Modals disappear quite often when I add an item to them (Dynamic values, Form fields etc), I then open them again using the Components inspector which after one or two edits displays the Javascript error again (I believe there is already a thread on the Modal dialogues disappearing?).
Is it not possible to have multiple RECAPTCHA2 elements on a single page (contained within Modals)?
I'm probably being over cautious if I am honest. I could probably just get away with the Validation..
Is it not possible to have multiple RECAPTCHA2 elements on a single page (contained within Modals)?
I'm probably being over cautious if I am honest. I could probably just get away with the Validation..
Replied 20 Oct 2016 13:25:29
20 Oct 2016 13:25:29 Teodor Kuduschiev replied:
As have always recommended - PLEASE, do not copy and paste code around, as usually it breaks the stuff on your pages. If it cannot be generated through the UI it is better NOT to move code around.
Google recaptcha cannot be inserted twice on a page.
Looking at your page you do not really need recaptcha in any of your forms. Recaptcha is for spam protection and this page is behind a secure login, where spam bots cannot enter and submit forms.
As for modal errors we will try to recreate this and will improve them, so no errors will appear after the next update.
I am checking the Problem 2 now.
Google recaptcha cannot be inserted twice on a page.
Looking at your page you do not really need recaptcha in any of your forms. Recaptcha is for spam protection and this page is behind a secure login, where spam bots cannot enter and submit forms.
As for modal errors we will try to recreate this and will improve them, so no errors will appear after the next update.
I am checking the Problem 2 now.
Replied 20 Oct 2016 13:43:56
20 Oct 2016 13:43:56 Dave Smith replied:
Thanks Teodor.
Replied 20 Oct 2016 14:35:15
20 Oct 2016 14:35:15 Dave Smith replied:
Quick update Teodor.
I rebuilt the Modals (inside the page) and removed the RECAPTCHA2 elements. Unfortunately Validation still fails to display on one of the Modals.
I rebuilt the Modals (inside the page) and removed the RECAPTCHA2 elements. Unfortunately Validation still fails to display on one of the Modals.
Replied 20 Oct 2016 14:36:10
20 Oct 2016 14:36:10 Teodor Kuduschiev replied:
As i explained in my last post - we are currently checking this issue. I will let you know hen there news about this.
Replied 20 Oct 2016 14:38:25
20 Oct 2016 14:38:25 Dave Smith replied:
No worries Teodor. The site is weeks away from completion so this is not a serious issue for us as it stands. Thanks once again.