-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (61 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Formulario de prueba estático mediante Google Forms</title>
</head>
<body>
<h1>Formulario de prueba estático mediante Google Forms</h1>
<!-- https://docs.google.com/forms/d/e/1FAIpQLScknFgqY4ntl9KkMz2oADBG-NVGhp-fVwPQKX0q1yb7cET0Sw/viewform?usp=sf_link -->
<form
name="gform"
id="gform"
enctype="text/plain"
action="https://docs.google.com/forms/d/e/1FAIpQLScknFgqY4ntl9KkMz2oADBG-NVGhp-fVwPQKX0q1yb7cET0Sw/formResponse"
target="hidden_iframe"
onsubmit="submitted=true;"
>
Nombre:<br />
<input
type="text"
name="entry.1010265677"
name="entry.1010265677"
placeholder="Nombre"
/>
<br />
Email:<br />
<input
type="email"
name="emailAddress"
id="emailAddress"
placeholder="Email"
/>
<br />
Mensaje:<br />
<textarea
name="entry.844287050"
id="entry.844287050"
placeholder="Mensaje"
></textarea>
<input type="submit" value="Submit" />
</form>
<iframe
name="hidden_iframe"
id="hidden_iframe"
style="display: none;"
onload="if(submitted) {}"
></iframe>
<script>
var submitted = false
</script>
<!-- Ocultar formulario tras ser enviado -->
<script src="https://code.jquery.com/jquery-git.min.js"></script>
<script>
$('#gform').on('submit', function (e) {
$('#gform *').fadeOut(2000)
$('#gform').prepend('Your submission has been processed...')
})
</script>
</body>
</html>