We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for FormIt 1.5.0-rc2 by splittingred.

    Brief Description:

    Automatically validate, parse and email forms. Redirect to thank you pages. Add your own hooks as Snippets to handle forms dynamically. Validate with custom Snippets. All is possible in FormIt, the new form processing Snippet for MODx Revolution 2.0.
    New in 1.5.0

    • [li]Added redirectParams property, which allows a JSON object of params to be passed when using redirect hook
    • Added spamCheckIp property, defaults to false, to check IP as well in spam hook
    • Fixed incorrect default param for fiarSender
    • [/li]
    • Fixed error reporting for FormItAutoResponder
    • Added sanity checks to form attachments when dealing with missing names
    • Fixed invalid offset error in checkbox validation
    • Added recaptchaJS to allow for custom JS overriding of reCaptcha options var

    New in 1.4.1

    • Added sanity check for emailHtml property on email hook
    • Added sanity check for replyto/cc/bcc emails on email hook
    • Added ability to change language via &language parameter

    See the Official Documentation here:
    http://rtfm.modx.com/display/ADDON/FormIt
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 28889
      • 6 Posts
      Hello
      I have just downloaded your Version of FormIt today 18th Nov. (1.5.0-rc2)
      I just can’t make the email hook work. Modx Version 2.04.
      First I thought, my system smtp setting were wrong, but then I tried your Example on
      http://rtfm.modx.com/display/ADDON/FormIt.Examples.Simple+Contact+Page using the gmail Smtp.
      No errors, just nothing happens, no redirect. As soon as I delete email hook, redirect hook works.
      Emailchunk does exist.
      This is my Formit call:
      [[!FormIt?
      &hooks=`email,redirect`
      &emailTpl=`Emailtextideenbox`
      &emailTo=`[email protected]`
      &emailFrom=`[email protected]`
      &emailReplyTo=`[[+useremail]]`
      &emailSubject=`Nachricht Wipf Website Ideenbox`
      &emailCC=`[[+useremail]]`
      &redirectTo=`1`
      &smtpEnabled=`1`
      &smtpAuth=`1`
      &smtpHost=`smtp.gmail.com`
      &smtpUsername=`my gmail`
      &smtpPassword=`my gmail pass`
      &smtpPort=`465`
      &smtpPrefix=`tls`
      ]]
      (with correct gmail and password, of course ..)
      Am I making something wrong? Kind regards, Hanna
        • 28889
        • 6 Posts
        Hello
        I found out that you removed SMTP Settings in FormIt (1.1.6) and FormIt uses now the modx system Settings for SMTP.
        You should update the tutorial on http://rtfm.modx.com/display/ADDON/FormIt.Examples.Simple+Contact+Page
        The Example with &smtpEnabled=`1` smtpAuth=`1` smtpHost=`smtp.gmail.com` (...) does not work since then.
        Kind regards, Hanna