title: How to make Chrome prompt to save credit card entries for autofill
body: <p>I'm implementing your average SSL secured payment form, and I've been able to get Chrome to consistently autofill stored credit card entries from a logged-in Google account. However, I haven't been able to find the magical series of bits and config to coerce it into prompting me to save new credit card entries.</p>
  
  <p>Lets take a stripped down set of payment fields:</p>
  
  <pre><code>&lt;form action="/someroute" method="post" id="pmntForm" autocomplete="on"&gt;
      &lt;h2&gt;Auto Fill Test&lt;/h2&gt;
  
      &lt;label for="nameoncard"&gt;Name on Card&lt;/label&gt;
      &lt;input type="text" id="nameoncard" name="nameoncard" autocomplete="cc-name"&gt;
  
      &lt;label for="ccnumber"&gt;Credit Card Number&lt;/label&gt;
      &lt;input type="text" id="ccnumber" name="ccnumber" autocomplete="cc-number" /&gt;
  
      &lt;label for="cc-exp-month"&gt;Expiration Month&lt;/label&gt;
      &lt;input type="number" id="cc-exp-month" name="cc-exp-month" autocomplete="cc-exp-month"&gt;
  
      &lt;label for="cc-exp-year"&gt;Expiration Year&lt;/label&gt;
      &lt;input type="number" id="cc-exp-year" name="cc-exp-year" autocomplete="cc-exp-year"&gt;
  
      &lt;label for="cvv"&gt;CVV&lt;/label&gt;
      &lt;input type="text" id="cvv" name="cvv" autocomplete="cc-csc"&gt;
  
      &lt;input type="submit" value="Submit" name="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This does exactly what I want for autofilling existing cards in my Chrome account:</p>
  
  <p><a href="https://i.stack.imgur.com/pyRuV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pyRuV.png" alt="Auto Fill Test, it works!"></a></p>
  
  <p>However if I enter a full set of new payment data; I expect that by the time the user clicks submit - Chrome should prompt to save the data as a new credit card entry (ironically this image is from a post of someone wanting to disable this):</p>
  
  <p><a href="https://i.stack.imgur.com/SYfDB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SYfDB.png" alt="Prompt to save Credit Card"></a></p>