UPDATE 2023: There has been some design changes in EPPP in 2023, same code can be used again. Watch the video below.
Every semester, all students need to do EPPP, commonly known as teacher’s evaluation of teaching (I think).
But if your evaluation is the same for every lecturer (like me), then it will be annoying having to click each button every time. There are almost 50 questions for the EPPP, and you have to do this for every lecturer. That is at least 200 buttons you need to click on!
From my experience, I know that I can use developer tools > console to do this automatically. And since the EPPP is using HTML form, this makes it even easier. Therefore, I went online to find out if anyone already made the code so I don’t have to make a new one.
As usual, I found the answer on Stackoverflow website.
Make sure the form for the evaluation is already open (the ones you need to rate 1-5)
Right click on mouse, click inspect. OR in chrome ctrl+shift+i
At the tab in the developer tools, select console
If there are any errors in red, just ignore and go to the last line. Insert the following code
Done
Insert the following code at the blue arrow
For the first page of EPPP use the following code:
Change the value=’5‘ to the rating value you want, 1 (very poor) to 5 (very good)
javascript:document.querySelectorAll("input[value='5']").forEach(e=>e.click());
Radio button in EPPP
2. For the second page of EPPP use the following code:
javascript:document.querySelectorAll("input[type='checkbox']").forEach(e=>e.click());
Check box button in EPPP
The first code is used to find input with value of 5 inside the HTML form. On the second page of EPPP, you dont have to rate anything, just click if you agree. Hence, the second code will find and click on inputs that are checkbox.
Good luck!