title: Google Form embed default value for a field
body: <p>I have a Rails app that displays a Googe Form in a Bootstrap modal.</p>
  
  <p>Here is a picture of the browser:</p>
  
  <p><img src="https://i.stack.imgur.com/81ogU.png" alt="enter image description here"></p>
  
  <p>I would like to add a default to the <code>name</code> input field.</p>
  
  <p>This is the coffeescript code - that doesn't work:</p>
  
  <pre><code>$(document).ready -&gt;
    $("#gformshow2").click -&gt;
      alert "hi"
      document.getElementById("entry_252495961").value="david"
      return
  </code></pre>
  
  <p>The "hi" alert displays just before the modal is opened.</p>