Subscribe to our Newsletter

Helper code for getting input names from a google form:
      const form = document.querySelector("form");
      console.log(form.action);
      const inputs = form.querySelectorAll("input, textarea");
      [].forEach.call(inputs, (input) => {
        if (input.name.indexOf("entry") === 0) {
          console.log(input, input.name);
        }
      });