-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment.html
158 lines (140 loc) · 6.17 KB
/
payment.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="payment.css" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"
/>
</head>
<body>
<header class="header">
<h1>Farmly</h1>
<nav class="navbar">
<ul class="navbar-list">
<li><a class="navbar-link" href="about.html">Home</a></li>
<!-- <li><a class="navbar-link" href="subsidy.html">Subsidies</a></li>
<li><a class="navbar-link" href="econew.html">Eco Farming</a></li>
<li><a class="navbar-link" href="fartilizer.html">Fartilizer</a></li>
<li><a class="navbar-link" href="contact.html">Contact Us</a></li>
<li><a class="navbar-link" href="photo.html">Photo</a></li>
<li><a class="navbar-link" href="shop.html">shop</a></li> -->
</ul>
</nav>
<div class="mobile-navbar-btn">
<ion-icon name="menu-outline" class="mobile-nav-icon"></ion-icon>
<ion-icon name="close-outline" class="mobile-nav-icon"></ion-icon>
</div>
</header>
<section id="section1">
<div class="container">
<form method="POST" name="google-sheet" id="my-form">
<div class="form-group">
<label for="firstName">First Name</label >
<input type="text" name="first name" placeholder="first Name" id="firstName" required>
</div>
<div class="form-group">
<label for="latsName">Last Name</label>
<input type="text" name="last name" placeholder="Last Name" id="lastName" name="lastName" required>
</div>
<div class="form-group">
<label for="mobile" >mobile no</label>
<input type="text" name="mobile" placeholder="Your mobile number" id="mobile" name="mobile" required>
</div>
<div class="form-group">
<label for="email" >Email</label>
<input type="email" name="email" placeholder="Your email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="Address" >Address</label>
<input type="Address" name="address" placeholder="Your Address" id="address" required >
</div>
<div class="form-group">
<label for="pin" >PIN Code</label>
<input type="text" name="pin" placeholder="PIN zode" id="pin" name="mobile" required>
</div>
<div class="form-group">
<label for="massage">Massage</label>
<textarea name="massage" placeholder="Message" id="massage" cols="30" rows="10"></textarea >
</div>
<div class="form-group">
<label for="firstName">item_1</label>
<input type="text" name="item_1" placeholder="first item name" id="1" required>
</div>
<div class="form-group">
<label for="firstName">item_2</label>
<input type="text" name="item_2" placeholder="second item name" id="2" required>
</div>
<div class="form-group">
<label for="firstName">item_3</label>
<input type="text" name="item_3" placeholder="third item name" id="3" required>
</div>
<div class="form-group">
<label for="firstName">item_4</label>
<input type="text" name="item_4" placeholder="forth item name" id="4" >
</div>
<div class="form-group">
<label for="firstName">item_5</label>
<input type="text" name="item_5" placeholder="fifth item name" id="5" >
</div>
<!-- <a href="pay.html" target="_blank"> -->
<button type="submit">submit</button>
<!-- <a href="pay.html" target="_blank">pay -->
<div class="pay">
<h2>Before payment please submit this form </h2>
<a href="pay.html" target="_blank">PAY</a>
</div>
</a>
</form>
</div>
<div id="status"></div>
</section>
<footer class="section-1">
<div class="col">
<h1>Farmly</h1>
<h4>contact</h4>
<p>
<strong>Address:</strong>15/15 mohan roy para lane
,khagra,berhampore,murshidabad
</p>
<p><strong>phone:</strong>+918945975330</p>
<p><strong>hours:</strong> 10.00 - 10.00,mon - fri</p>
</div>
<div class="col">
<h4>about</h4>
<a href="about.html">about us</a>
<a href="#">privecy policy</a>
<a href="contact.html">contact us</a>
<a href="index.html">sign up</a>
<a href="contact.html">help</a>
</div>
<div class="follow">
<h4>follow us</h4>
<div class="icon">
<a href="https://www.facebook.com/pushkar.roy.5496" target="_blank"> <i class="fab fa-facebook-f"></i></a>
<a href="https://www.instagram.com/pushk.ar04/" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="https://www.youtube.com/@priom17/featured" target="_blank"><i class="fab fa-youtube"></i></a>
<a href="https://www.linkedin.com/in/pushkar-roy-879688224/" target="_blank"> <i class="fab fa-linkedin"></i></a>
</div>
</div>
</footer>
<div class="copyright">
<p>@ all copyright reserved to us</p>
</div>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbwpoFrXmLbrD72vQ9_ZObA6tGCTqUEm7zRHFP6T6XBoyT-cowEyvb9yNSqm_M7wHcaB/exec'
const form = document.forms['google-sheet']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => alert("Thanks for Contacting us..! We Will Contact You Soon..."))
.catch(error => console.error('Error!', error.message))
})
</script>
</div>
</body>
</html>