I currently replaced someone in a existing SharePoint project and I'm having trouble understanding the previous person's work. I will try to explain the setup and explain my question after to make things clear.
We have a list called Class Sessions in the format of a calendar, it contains scheduled classes with their respective dates, instructors, titles and other information. We also have a Enrollment list that that takes care of enrolling students to the Class Session list. So from the Class Session's DispForm.aspx page we can prompt Enrollment's NewForm.aspx page.
Class Session's DispForm snippet showing link to Enrollment's NewForm
Here is Enrollments NewForm
The ClassSession used to point to the correct dropdown class session a week ago (to F101 - Admin 101 (3/8/2015)), but now it always defaults to F101 - Admin 101 (1/16/2015). I never changed any aspx file and dont know what caused this function to stop working. Here is the code of interest for Enrolment's NewForm.aspx
I took a look at this guide but could not understand my NewForm.aspx based on the information on the guide.
Anyhelp with my problem would be greatly appreciated.