Extremely generalized DOM-Driven form handling.