FormMelon/testing/index-v2.html

37 lines
1.0 KiB
HTML
Raw Normal View History

2023-12-05 01:57:37 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Form with reCAPTCHA</title>
<!-- Load reCAPTCHA script -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("demo-form").submit();
}
</script>
</head>
<body>
<form id="demo-form" action="submit_form.php" method="POST">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<!-- reCAPTCHA widget -->
2023-12-05 02:03:55 +00:00
<div class="g-recaptcha" data-sitekey="6LcOSSYpAAAAAC5Znq0U0etBMJ1feYD7HWI9s4bt"></div>
<button type="submit">Submit</button>
2023-12-05 01:57:37 +00:00
</form>
</body>
</html>