There are loads of examples in the code itself - just grep ad_form.
Here is also a good reference:
https://openacs.org/storage/view/ad-form-quick-ref.pdf
And the OpenACS Tutorial:
https://openacs.org/storage/index?folder_id=2855304
Cheers.