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.1.7-pl 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.1.7

    • Added bcc and cc properties for email hook


    New in 1.1.6

    • Added emailReplyToName and emailReplyTo properties for email hook
    • i18n of Snippet properties
    • Removed SMTP properties as those are now in Revolution 2.0
    • Added multibyte support
    • Added islowercase, isuppercase validators
    • Fixed bug in html emails where linebreaks were being ignored

    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
      • 30894
      • 1 Posts
      I can’t get this to work at all. The snippet call works, it sends the email & redirects where I tell it. Unfortunately, it only works when I explicitly note the smtp settings in the snippet call and even then, it sends blank emails. Any suggestions?
        • 15308
        • 25 Posts
        Hi
        Are CSS styles allowed in the email chunk?
        regards
          • 28215
          • 4,149 Posts
          You can put anything you’d normally put in an email, so HTML (and therefore CSS) is allowed.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 15308
            • 25 Posts
            Email chunk 1:
            <h1 style="color:red">This is the Formit Email Chunk.</h1>  
            <br />[[+name]] ([[+email]]) Wrote: <br />  
            [[+text]] 


            Email sent :
            This is the Formit Email Chunk.
            test [email protected] Wrote :

            Email chunk 2:
            <style type="text/css">
            h1 {color:red;}
            </style>
            <h1>This is the Formit Email Chunk.</h1>  
            <br />[[+name]] ([[+email]]) Wrote: <br />  
            [[+text]] 


            Email sent :
            h1 {color:red;}
            This is the Formit Email Chunk.
            test [email protected] Wrote :
              • 17422
              • 225 Posts
                • 3749
                • 24,544 Posts
                I’m pretty sure that’s not FormIt. It just sends along what it finds.

                I suspect that the second form either doesn’t work outside the <head> section or isn’t supported by the receiving email client.
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 30319
                  • 406 Posts
                  Thank you for including Cc: and Bcc:...
                  Are they referenced as &Cc and &Bcc, what??
                  Does &EmailFromName work properly in this version??
                  Thank you, Tom
                    • 15308
                    • 25 Posts
                    look this :
                    http://www.campaignmonitor.com/css/
                    Hi lolotlm. Like you can see under that link, <style> declarations works in the head or the body tag except for Gmail and Lotus Notes.

                    Hi Bobray. Is there a way to specify some styles in the head of the emails that are sent with Formit? Maybe a feature suggestion to have a stylesTpl option.
                      • 30319
                      • 406 Posts
                      If you want your emails styled, you could experiment with the email chunk??
                      You may have to create additional templates etc. though.