Mandatory Fields are not working