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.6-rc1 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.6

    • Added multibyte support
    • Added islowercase, isuppercase validators

    See the Official Documentation here:
    http://svn.modxcms.com/docs/display/ADDON/FormIt
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 3749
      • 24,544 Posts
      Um ... Should those be isUppercase and isLowercase, to match the style of all the other validators (except the anomalous password_confirm)? smiley
        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
        • 40045
        • 534 Posts
        I didn’t yet wrap my head around it yet, but im on the way to experiment with FormIt and I just wanted to ask (if there is already a known easy solution) if there is a simple way to make the forms submit via ajax?

        I have experience with eForm form Evo and there I could get it to work nicely via ajax, but there were some kind of annoying things like making the same form twice [one in the page and one "in the backend" (just another blank page with the form, just to process it)].
        Then I had to get the Input Values from the website-form via JavaScript (i use jQuery) and send them via ajax postdata (used the .load() method from jQuery) to the second (identical) form-page to get the input-data validated (server side) and sent via email or inserted to a db.
        It works, looks good but it’s creepy to manage. (and it took a lot of time to figure it all out =D)

        So my question would be if I have to do this all again (finding out how the FormIt Snippet wants the data when it comes with ajax and so on) or is there is an easier way to do this?

        thanks for your replies!