mpForm - Verification not working after upgrade to WB 2.12.2 r378

Martin Hecht


Luisehahne

QuoteI'm not sure if anyone who can update the addons repository is watching this thread, but if so, I would be thankful if you could update it with the attached zip file.

Done and thanks for your work

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Martin Hecht

Hi Kim,

please find attached the latest version of mpform. It contains the following fixes:
        *** 1.3.32 (Martin Hecht: 06-Jul-2019) ***
        correctly display submission time in backend
        support new captcha form of wb 2.12.2
        delete records from results table, too when ajax is active

I'm not sure if anyone who can update the addons repository is watching this thread, but if so, I would be thankful if you could update it with the attached zip file.

Cheers, Martin   

Martin Hecht

Hi Kim,

yes, sure. I just have received another feature request today for which I would like to evaluate if it can be easily done, and if so, I would put everything together into the next release.

Cheers, Martin

KimCR

Thank you Martin! That has done it!!

Last night I had tried reinstalling both mpForm and Captcha Control, even going back to the previous versions. I still had the same result! I gave up and went to bed about 1:30am, not very happy!

This morning when I saw your posts I was hopeful again. I had to manually reinstall the Captcha Control module back to v2. Then "upgraded" to your version of mpForm - it works again first time without stopping at Captcha. Great!!

I thank you very much. I trust this version with your modification will form the basis of a new version of mpForm for WB v2.12.2 and beyond?

Cheers,
Kim

Martin Hecht

Hi, could you please test the attached version? It contains a fix which hopefully makes the captcha work again with WB 2.12.2

Martin Hecht

looks as if $_POST['captcha'] has been changed to $_POST['captcha'.$namespace] in the latest WB version, right? So, modules that have been using a comparison between $_POST['captcha'] and the corresponding value in the $_SESSION environment have to be updated

dbs

[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

KimCR

Thank you dbs for your suggestion however changing that setting hasn't changed the error.
Kim

dbs

Hi, my test with mpForm 1.3.31 on WB 2.12.2 & PHP7.3 was successfully.

Try to change the Captcha-Typ in Admin-Tools > Captcha Spam-Protection v2.0.0
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

KimCR

I am hoping that someone will be able to assist.
An mpForm page was working fine until I upgraded the site to WB 2.12.2 r378. The mpForm module is v 1.3.28. PHP is Version 7.2.19.

After completing the form, including the verification code, the visitor's form has a red ribbon at the top which says "Please complete or correct the fields in red color!" And at the bottom of the form the verification field label turns red "Verification code (SPAM protection)*:", the background of the field turns red and below it in red appears "Fill in the result The verification number (also known as Captcha) that you entered is incorrect."

With my limited knowledge I have been unable to find a solution. I have used the standard Form module for another form on the same with no issues with the verification. However, the larger form with the problem needs to have date fields which the standard Form module doesn't have. I would really like to get mpForm working again.

I have attached a screenshot of the error that pops up above the Submit button.

I would very much appreciate any assistance.
Thank you in advance,
Kim