I am looking to create a view with a drop down box which lists programming languages from a table in a database. This I have no issues with, but I also want 10 check boxes called Level 1 till Level 10. Now these 10 Levels already are in a seperate table in the db, each with thier own id etc.
My issue is, how do I create a page that lets you choose a language and then choose level 2 and 3 for example and then add them to a another db table with a foreign key for both language and levels table? I know at first it sounds simple but I need to create a controller that checks to see what levels are checked and add them. Complex part is each language has different range of skills, not all start at 1 and end at 10.
Here are examples of the tables:
Language ID Language Name
Level ID Level Name
Mapped ID LanguageID LevelID.
Thanks!