For a decent Hook_forms example look to ubercart’s uc_product,
it uses hook_forms to register the ‘add to cart’ forms : http://api.lullabot.com/uc_product_forms
> I
think the answer about using hook_forms is the way to go, but last I
looked the API docs were really bad on that hook.