How to Submit Teacher evaluation automatically VULMS
-
-
Login to your VULMS you will see that page as shown below.
-
Press F12/Right Click menu to Select “inspect element”.
-
Copy Below code, and paste it in the console Table Yellow Area.
-
Teacher revelation form is auto filled. Press submit and have fun!
Code for Console:
var choices = ["Uncertain", "Agree", "Strongly Agree"] ; var randomNum = Math.floor((Math.random()*choices.length)); var myChoice = choices[randomNum]; var labels = document.querySelectorAll('label'); var textareas = document.querySelectorAll('textarea.txt'); for (var i = 0; i < labels.length; i++) { if (labels[i].innerHTML == myChoice) { document.getElementById(labels[i].getAttribute('for')).setAttribute('checked', ''); }} for (var i = 0; i < textareas.length; i++) { textareas[i].innerHTML = 'I loved the course. learned a lot from it. However, the content of the course needs to be updated..'; }
-