Project Part 3: Form validation functional