0
Fixed

edit student information

Dustin 7 years ago updated by Brad B. (Answers in Genesis - Web Development) 7 years ago 4

I have been trying to edit the birthdate of two students. It Is saving the month and day, but defaults to 2017 for the year. Am I doing something wrong?

If you click on the birth date field, a date picker will pop up. At the top of this is a dropdown list where you can select the year. You can also manually type in the year as well.

It is not saving the changes. I checked back this morning and it has today's date.

Started

We took another look and found the problem. Actually there were two problems that were working together.


The issue wasn't specifically with the birthdate field. The form wasn't being saved at all because of a problem with another field.


The "Food Allergies" field was set to be required. This meant the form could only be saved if the student had the allergy field checked. As these students had no allergies, no updates could be made. You're actually not supposed to be able to make that field required. I corrected that on your form, so now you can save changes.


The other problem is that we don't make it clear enough when there is a validation error that keeps the form from being saved. We'll work on improving that.

Fixed

We have now made it more obvious when a student record isn't being saved due to a validation error.