<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ichikaway</author_name>
  <author_url>https://blog.hatena.ne.jp/ichikaway/</author_url>
  <blog_title>Code Day's Night</blog_title>
  <blog_url>https://blog.ichikaway.com/</blog_url>
  <categories>
  </categories>
  <description>Stripe Elementsはこのサイトにあるサンプルを使えば手軽に始められます。https://stripe.com/docs/stripe-js ただ、この例のバリデーションでは全項目の入力を待つことができず、例えばカード番号だけ入力した状態でも送信できてしまいます。 今回はカード番号、有効期限、CVCなど全項目の入力がある場合のみ、Submitボタンを活性化させるような方法をご紹介します。 このサイトのjsのサンプルにあるchangeイベントの箇所 https://stripe.com/docs/stripe-js card.on('change', function(event) {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ichikaway.com%2Fentry%2F2020%2F07%2F21%2F114233&quot; title=&quot;Stripeのクレジットカードフォームで全項目の入力が完了するまで送信させない - Code Day&amp;#39;s Night&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-21 11:42:33</published>
  <title>Stripeのクレジットカードフォームで全項目の入力が完了するまで送信させない</title>
  <type>rich</type>
  <url>https://blog.ichikaway.com/entry/2020/07/21/114233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
