updated form controls to validate html