I have a table of Universities and Courses linked together and I use this as a datasource for the University dropdown. Next, I made the Course field a Cascading Autocomplete based on the same table where the cascade is filtered by University Name and Autcomplete is filtered by Course Name.
The problem I have is that the form still accepts any random value the user enters in the Course field.
Is there a javascript code which I could use or something similar that displays an error if the user enters a Course that is not linked to the University he/she has chosen.
I could but do not want to use a dropdown because there will be 100+ values