pass the whole doc through, hiding the form element can be done by clients