-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
83 lines (76 loc) · 3.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link rel="stylesheet" href="css/cover.css">
</head>
<body>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="masthead clearfix">
<div class="inner">
<center>
<h3 class="">Handle Multiple Invisible Recaptcha</h3>
</center>
</div>
</div>
<div class="inner cover">
<div class="row">
<div class="card">
<form name="form1" id="form1" method="post" action="process.php">
<div class="form-group">
<label for="InputText1">Enter Text (Recaptcha 1)</label>
<input type="text" class="form-control" id="text1" name="textmsg" placeholder="Enter random text">
<!--
Added Below Div to store invisible recaptcha rendered html
-->
<div id="recaptcha-form-1" style="display:none;"></div>
</div>
<input type="button" class="btn btn-primary" onclick="formSubmit('1')" value="Submit" />
</form>
</div>
<div class="card">
<form name="form2" id="form2" method="post" action="process.php">
<div class="form-group">
<label for="InputText2">Enter Text (Recaptcha 2)</label>
<input type="text" class="form-control" id="text2" name="textmsg" placeholder="Enter random text">
<div id="recaptcha-form-2" style="display:none;"></div>
</div>
<input type="button" class="btn btn-primary" onclick="formSubmit('2')" value="Submit" />
</form>
</div>
<div class="card">
<form name="form3" id="form3" method="post" action="process.php">
<div class="form-group">
<label for="InputText3">Enter Text (Recaptcha 3)</label>
<input type="text" class="form-control" id="text3" name="textmsg" placeholder="Enter random text">
<div id="recaptcha-form-3" style="display:none;"></div>
</div>
<input type="button" class="btn btn-primary" onclick="formSubmit('3')" value="Submit" />
</form>
</div>
</div>
</div>
<div class="mastfoot">
<div class="inner">
<p>Sample template by @Prathamesh-Sawant to implement multiple invisible recaptcha on single page dynamically.</p>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="http://code.jquery.com/jquery-latest.min.js"
type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=explicit"></script>
<script src="js/init_recaptcha.js" async defer></script>
<script src="js/form.js" async defer></script>
</body>
</html>