added ability to customize the form rendering output