This tutorial, for beginning and intermediate Drupal programmers, is designed to get you up to speed on the basics and some more advanced features of the Form API such as multistep forms. Intermediate programmers may want to skip down to code sample #8 where some complexity starts kicking in. The tutorial is designed to have you copy and paste the code snippets below into a module so you can actually see the forms work and experiment with them.
The first step is to learn how to get the code snippets working. Assuming you already have a Drupal 6 site up and running, do the following:
Click for the Full Story
http://drupal.org/node/262422