Hello!
David is right about the dojo table, but that can have some issues, too. For example, if you want to set focus on a field in a separate tab, you'll have to trick the code to open that tab first or you'll get an error. In our organization (unfortunately!), IE7 is the standard, and dojo tabbed panels don't come out well at all if you have a large form. Basically, the entire form will be displayed, and then the dojo tabs will reorganize it. Not so nice for end users, especially if they are typing in some of the first fields when the rest of the form is still being loaded.
The link in my previous response for the jQuery table of contents has won rave reviews from end users here! If you have a big form, I suggest using that method.
Who knows? Maybe Dr. Mark Roden can do a 4th video for David Leedy's xpages.tv site... :)
Good luck!
Steve in NYC
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."