Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

880 B
Raw Blame
<!-- Generate a form with several inputs -->
<html>
  <head>
    <meta charset="utf-8" />
    <title>Test</title>
    <style>
      .form {
        display: flex;
        flex-direction: column;
        width: 400px;
        margin: 0 auto;
      }

      .form > * {
        margin-top: 10px;
      }
    </style>

    <script src="../../dist/captcha-loader.js" defer></script>
  </head>

  <body>
    <form class="form" action="test.html" method="post">
      <input type="text" name="name" value="name" />
      <input type="text" name="email" value="email" />
      <input type="number" name="number" value="number" />
      <div class="swecaptcha" data-project-id="AP00000000000" data-theme="auto"></div>
      <!-- <div class="swecaptcha" data-project-id="79eF2Z9rNNvv" data-theme="auto"></div> -->
      <input type="submit" value="Submit" />
    </form>
  </body>
</html>