[ARCHIVED] [ARCHIVED] Limiting change to the course (reference) code ?

Jump to solution
harrison
Community Novice

Is there a way to allow the teacher to change the course name, but not the course (reference) code ?

Bruce Harrison

UT Martin

Labels (2)
1 Solution
dgrobani
Community Champion

One way is to add something like this to your JavaScript upload file:

if (document.URL.endsWith('settings')) { 
   $("#course_form #course_course_code").prop("readonly", true);
    }

View solution in original post