Form API Examples
Form examples to demonstrate common UI solutions using the Drupal Form API
This module also provides a block, "Example: Display a form" that demonstrates how to display a form in a block. This same technique can be used whenever you need to display a form that is not the primary content of a page. You can enable it on your site using the block admin page.