// given the form
<form onsubmit="gotRows()" id="getUserForm" style="visibility: hidden">
Question title: <input type="text"> <br>
Option 1: <input type="text"> <br>
Option 2: <input type="text"> <br>
Option 3: <input type="text"> <br>
Option 4: <input type="text"> <br>
<input type="submit">
</form>
// make the form visible by the following javascript
var formy = document.getElementById("getUserForm");
formy.style.visibility = "visible";