A super simple automated attendance system using HTML form and Google Apps Script. This is not meant as a fool-proof method of tracking attendance, but an automated method. It works as following:
- Attendee opens index.html (either locally or hosted online)
- Attendee enters their ID and pressed submmit
- ID and their device IP is sent to a Google Web-App (GWA) to be proccessed
- GWA logs the submission, then starts validations to check if it should count towards attendance
- First checks if it's submitted on the day of the course/event (checks day of the week)
- Then checks for different ID submittion from the same IP (blocks all submission from that IP)*
- Lastly checks for IP before compiling the logs into an attendance sheet
- there's a 10 min delay to the compilation, counted from the last submission, so it only compiles once after everyone has submitted
- Create a Google Spreadsheet and populate it to match Spreadsheet.xls
- the sheet names have to match, including captitalization
- Edit the spreadsheet as needed (note: if you change the order of the columns, the Apps Script needs to be adjusted accordingly)
- the number after IP Address is the day of the week of the course/event
- Create a Apps Script on that Spreadsheet, paste in GS.js and adjust accordingly
- Deploy it to get the web-app URL and replace the placeholder in index.html on line 96
*WAN IP is use, if devices are behind a DHCP service like a router, all devices will report the same IP address.