Use DomHelpers to simplify creating elements. Fix the hidden field that would be used if the form was submitted HTML-style!