Events Made Easy Forums Generic Booking forms in 2.0.17 have CAPTCHA appearing twice

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #57321
    Anonymous
    Inactive

    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

    #57323
    Franky
    Keymaster

    I’m not able to reproduce that. See here:
    http://www.e-dynamics.be/wordpress/events/954/test/

    What does your RSVP template look like?

    #57324
    Anonymous
    Inactive

    The template ends:

    Additional Comments
    #_COMMENT
    #_CAPTCHAHTML{
    Copy CAPTCHA Text
    #_CAPTCHA
    }
    #_SUBMIT

    Maybe this is legacy and I just need the following?

    Additional Comments
    #_COMMENT
    Copy CAPTCHA Text
    #_CAPTCHA
    #_SUBMIT

    #57325
    Franky
    Keymaster

    You 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)

    #57329
    Anonymous
    Inactive

    I 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.

    #57330
    Anonymous
    Inactive

    Ignore previous report. I think I have found the issue.

    #57331
    Anonymous
    Inactive

    I 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
    #_SUBMIT

    Anyway, thanks for providing the pointers to help resolve this. Appreciated, as always.

    #57332
    Franky
    Keymaster

    I’m sure #_CAPTCHAHTML works as expected (I have it on my site), but again: it is ‘old’ and I’m deprecating it …

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top