We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34178
    • 212 Posts
    Normally formit´s autoresponder works very well. But sometimes we get this error in the MODx-error-log:
    ERROR @ /index.php) [FormIt] Auto-responder could not find field `email` in form submission.

    Does anybody have an idea what could be the problem in this cases?
      • 4172
      • 5,888 Posts
      what is your FormIt - snippet - call?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 34178
        • 212 Posts
        [[!FormItRetriever]] // it is necessary because some fields like email were delivered from the page the people coming from
        
        [[!FormIt? 
           &preHooks=`dbtoform`
           &hooks=`spam,updateformit,email,FormItAutoResponder,redirect` 
           &store=`1`
           &storeTime=`1800` 
           &redirectTo=`324` 
           &prefix=`prof_`
           &packageName=`tblwork`
           &tablename=`mini` 
           &emailTpl=`mini-admin`
           &emailFrom=`[email protected]`
           &emailTo=`[email protected]`
           &emailSubject=`Notification` 
           &emailHtml=`1`    
           &fiarReplyTo=`[email protected]` 
           &fiarTpl=`welcome`
           &fiarToField=`email` 
           &fiarFromName=`Service`
           &fiarFrom=`[email protected]` 
           &fiarSubject=`Welcome` 
           &fiarHtml=`1`
        ]]


        Ok, maybe it is because FormItRetriever doesn´t deliver the email-field in all cases properly. The remaining question is why FormItRetriever doesn´t provide the email everytime ...
          • 4172
          • 5,888 Posts
          what happens, when you are making the email-field required and valid, to be sure formit would only proccess its hooks, when the email is properly filled?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!