Completed front end code for education and demographic forms