Drupal Forms API
Under construction.
From the Forms API quickstart guide:
The Drupal forms API is a powerful leap forward. It also allows for almost unlimited possibilities for custom theming, validation, and execution of forms. Even better, ANY form (even those in core) can be altered in almost any way imaginable--elements can be removed, added, and rearranged.
Forms API goes by the moniker FAPI.