I am creating an evaluation webform where students evaluate both instructor and lab location on the same form based on class section number.
How do I redirect students to the correct form if there are 100s of sections?
Writing conditional based logic on global $user and checking for roles seems trivial. Login Destination will do the trick, but not sure how to handle 100s roles.
EDIT: The url structure would something along the lines of:
Caveats: One instructor could belong to many sections since they can teach any number of classes.
Edit #2 Main entities/fields on the form are:
Instructor: can belong to many classes and sections
Class Name: i.e. Industrial Economy. A single class can have many sections (or units in laymen's term).
Section: belongs to a single class.
Class Number: Classnumber-followed by section number ie. ABC23343-34 (the last two digits are class section).
Key identifier and workflows:
Once a student logs in, he/she should see the list of classes they belongs to and fill out the evaluation form for that section. Essentially, a single student could have 5 or 6 forms. Apologies! this changes the question a bit. Actual form content stays the same (so a single form could be used as a template to attach to many entities).