Tabs in Form Module in Drupal 7 How to create Tabs in form Module using FORM API in Drupal 7 and enable and disable them
The Examples for Developers collection of sample modules includes a sample implementation of vertical tabs in forms.