diff --git a/app/views/surveys/component/disable-fields.js b/app/views/surveys/component/disable-fields.js index b8d636e70..6cabdca17 100644 --- a/app/views/surveys/component/disable-fields.js +++ b/app/views/surveys/component/disable-fields.js @@ -1,5 +1,7 @@ +console.log("Wait for onload"); window.onload = function myFunction() { + console.log("Disabling fields"); var inputs = document.getElementsByTagName("input"); for (var i = 0; i < inputs.length; i++) { inputs[i].disabled = true;