/* Hacky mockup */ let elements = document.getElementsByTagName('input'); for (let i=0; i