-
- 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
-
- 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?
-
- 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.
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.