Add a standalone genericForm example.

A question came up in the forum about genericForm and I thought a standalone,
runnable example might help things.