This probably shouldn't be an ad_form addition per se as whether or not to allow HTML is a datatype thingy, not an overall thingy that applies to all datatypes (say integer).
Perhaps the "text" datatype should be extended to deal with this? Of course, we already have the rich text widget that does even smarter things.