removed required attribute. we are not doing form submit here