There are examples in the various other documentation pages.
Using FormBuilder with HTML_QuickForm_Controller