added front end form validation to settings index form