require on name field working