We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21257 MODX Staff
    • 730 Posts
    I was using two eForms on one page, both with vericode.
    I was unable to submit one of them due to "Invalid verification code", even though it was being entered incorrectly.
    eForm was only storing the vericode in one session variable.
    I have added a test to see if the global $form_id is set, and if it is, it makes that session variable into an array.
    I’ve attached the full modified eform.inc.php file as well as a .diff file.
      Mike Schell
      Lead Developer, MODX Cloud
      Email: [email protected]
      GitHub: https://github.com/netProphET/
      Twitter: @mkschell
      • 30223
      • 1,010 Posts
      Thanks for that, I’ll have a look at the code and see if it can be integrated into the next version.
        • 16702 ☆ A M B ☆
        • 536 Posts
        Quote from: netProphET at Dec 08, 2008, 04:38 PM

        I was using two eForms on one page, both with vericode.
        I was unable to submit one of them due to "Invalid verification code", even though it was being entered incorrectly.
        eForm was only storing the vericode in one session variable.
        I have added a test to see if the global $form_id is set, and if it is, it makes that session variable into an array.
        I’ve attached the full modified eform.inc.php file as well as a .diff file.


        is that work? i make some test and i thing is not work...?
        Thanks
          palma non sine pulvere
          • 21257 MODX Staff
          • 730 Posts
          It’s been a long time since I’ve looked at that bug or had two eForm snippets on a page. I’ll flag this to take another look, but it won’t be today.
            Mike Schell
            Lead Developer, MODX Cloud
            Email: [email protected]
            GitHub: https://github.com/netProphET/
            Twitter: @mkschell
            • 16702 ☆ A M B ☆
            • 536 Posts
            Quote from: netProphET at Nov 22, 2010, 08:32 AM

            It’s been a long time since I’ve looked at that bug or had two eForm snippets on a page. I’ll flag this to take another look, but it won’t be today.


            very sad - this problem is not so pleasant
              palma non sine pulvere