Events Made Easy › Forums › Generic › Booking forms in 2.0.17 have CAPTCHA appearing twice
Tagged: forms CAPTCHA
- This topic has 7 replies, 2 voices, and was last updated 6 years, 10 months ago by Franky.
-
AuthorPosts
-
Wed 10 Jan 2018 at 09:54 #57321AnonymousInactive
I upgraded from 2.0.16 to 2.0.17. The event booking forms now have the CAPTCHA image and text box appearing twice. There are also some curly brackets. It appears as:
Form elements…
CAPTCHA image
CAPTCHA text box
{
CAPTCHA image
CAPTCHA text box
}Submit booking button
Best regards,
Chris
Wed 10 Jan 2018 at 10:45 #57323FrankyKeymasterI’m not able to reproduce that. See here:
http://www.e-dynamics.be/wordpress/events/954/test/What does your RSVP template look like?
Wed 10 Jan 2018 at 11:07 #57324AnonymousInactiveThe template ends:
Additional Comments
#_COMMENT
#_CAPTCHAHTML{
Copy CAPTCHA Text
#_CAPTCHA
}
#_SUBMITMaybe this is legacy and I just need the following?
Additional Comments
#_COMMENT
Copy CAPTCHA Text
#_CAPTCHA
#_SUBMITWed 10 Jan 2018 at 11:27 #57325FrankyKeymasterYou have newlines inside your #_CAPTCHAHTML, this is the cause (and not allowed in fact, but now those get correctly translated to
<br />
too and that will cause your problem).
So just remove that, or do your suggestion (if you know you’re using captcha, your suggestion is ok).
I’ll try your #_CAPTCHAHTML too, to be sure (but in fact I should remove #_CAPTCHAHTML support anyway and make people use templates for rsvp)Wed 10 Jan 2018 at 12:20 #57329AnonymousInactiveI edited the RSVP template as you suggested and it has broken the booking pages on the website, in both 2.0.16 and 2.0.17.
See for example: https://cfd.direct/openfoam-training/berlin/
where I now have 2.0.17 installed. The right hand menu has disappeared under the footer.Even when I reinstate the original text in the RSVP template, it is still broken. I think I created the templates before the HTML editor was introduced there, so the data being saved is different from the original stored data.
Wed 10 Jan 2018 at 12:25 #57330AnonymousInactiveIgnore previous report. I think I have found the issue.
Wed 10 Jan 2018 at 12:45 #57331AnonymousInactiveI got the booking forms all working and I am now up to date with 2.0.17
I found that even if I removed blank lines in #_CAPTCHAHTML, it still produced the result in my initial report when using 2.0.17.
In short, in 2.0.17 #_CAPTCHAHTML appears to behave like #_CAPTCHA. So you get a CAPTCHA, then verbatim printing of “{” and “}”.
My fix in 2.0.17 was just removing #_CAPTCHAHTML, i.e. using:
Copy CAPTCHA Text
#_CAPTCHA
#_SUBMITAnyway, thanks for providing the pointers to help resolve this. Appreciated, as always.
Wed 10 Jan 2018 at 12:58 #57332FrankyKeymasterI’m sure #_CAPTCHAHTML works as expected (I have it on my site), but again: it is ‘old’ and I’m deprecating it …
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.