Hello General Discussion forum.
I want to know if anyone would be interested in some modules I've written for a job recently (a site using Drupal 4.7). Under contract law, I have to get permission to release them, and having a number of people interested would be a bonus to my side. Or a disadvantage, depending on when and how I ask. But that's for my discretion, so here's the list.
These are the modules I feel would most benefit the community:
== wizard.module ==
Creates a multi-step wizard using Forms 1.0. Easy to port to Forms 2.0. Creating a wizard is trivial; call wizard_get_form($form_id, $stages) where stages is a list of callback functions which will return a form array.
Features include (listed, since I have competing modules, but they can't do all of this!):
- Ability to go both back and forward
- Very little futzing with POST (just op and form_id)
- No bypassing Drupal's functions or use of private Drupal functions. I only ever call drupal_get_form()!
- Ability to skip a stage if certain conditions match
- Ability to have more than one wizard per page
- Checks all input values up to current stage
- Ability to have different forms depending on what the previous stage does
- Ability to buffer input for end, or send it to a stage's submit function (for safety, once sent to a submit function, you can not go back to a stage before the submit)