working validation example, bootstrap styling