We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21740
    • 17 Posts
    Hello,

    I am using the current version of FormIt and MODX Revo and was wondering if it is possible to produce a wizard using FormIt and if so - how?

    I am new to MODX so I am not entirely sure how to approach this.

    Thanks,
    noned
      • 21740
      • 17 Posts
      Am I not patient enough or does that either mean a)it is a dumb question or b)people find it interesting but don’t know how it works either?
        • 3749
        • 24,544 Posts
        FormIt mainly just presents a form in the front end and then processes the submitted form using snippet code that you write, so you could certainly create a wizard with it if your wizard is a series of sequential front-end forms. If you want something that uses Ajax and runs in the Manager, though, you’d take another route.
          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
          • 21740
          • 17 Posts
          Which route would that be (considering I am running Revo)? smiley
          • When using AJAX it doesn’t matter which version of MODx you use. The trick is to decide what javascript libraries you’ll be using, and use formit or eForm or even your own form processing scripts to deal with the form elements the javascript wants. I was under the impression that formit, unlike eForm, didn’t generate the form, it worked with the form it is configured to work with. The main functions that both formit and eForm provide are back-end field validation and email handling. You can do as you please with Javascript/AJAX. While I’ve never used formit, eForm works quite nicely as an AJAX processor; its return values can be used by the AJAX as well as any other script.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 21740
              • 17 Posts
              Susan,

              thanks for your explanation - it absolutely makes sense.

              I will try to produce a solution and share it with the community once I’ve found it smiley

              Andreas
                • 21740
                • 17 Posts
                Hey,

                I wanted to share with you that I found a really nice form wizard tool utilizing jquery. The script is explained in detail at the website of the author. However, I ended up using a stylish but simple form without any wizard and with an ajax and formit validation in the end because it took me hours to customize the wizard and then I had issues with FURLs and the formtowizard script....

                Andreas