You are on page 1of 2

<!

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>HTML form to Google Sheet</title>
</head>

<body>
<h1 id="msg"></h1>

<form action="https://script.google.com/macros/s/AKfycbzWf5eAiTAQaCXc9BCj-
GuMBDzj4CYca4ZUVFMRdxat/dev" method='post'>
<style>
table {
display: table;
border-collapse: separate;
border-spacing: 10px;
border-color: gray;
}
</style>
<table>
<tr>
<td><label for="Contractor Name">Contractor Name:</label></td>
<td><label for="Name of work">Name of work:</label></td>
<td>
<label for="ht1">Work type:</label></td>
<td>
<label for="doj">Date of Joining</label></td></tr>

<tr><td>
<input type="text" name="contra_name" id='Contractor Name'></td>
<td>
<input type="text" name="work_name" id='Name of work'></td>
<td>

<input type="radio" id="ht1" name="work_type" value="Rate Work">


<label for="ht1">Rate Work</label>
<input type="radio" id="ht2" name="work_type" value="NMR">
<label for="ht2">NMR</label></td>
<td>
<input type="date" name="doj" id='doj'></td></tr>

<tr><td>
<label for="adhar">Adhar Number</label></td>
<td>
<label for="bACn">Bank Ac Number</label></td>
<td>
<label for="bname">Bank Name</label></td>
<td>
<label for="ifsc">IFSC Code</label></td>
</tr>
<tr><td>
<input type="number" name="adhar" id='adhar'></td>
<td>
<input type="number" name="bacn" id='bACn'></td>
<td>
<input type="text" name="bname" id='bname'></td>
<td>
<input type="text" name="ifsc" id='ifsc'></td></tr>
<tr><td>
<label for="pan">PAN Number</label></td>
<td>
<label for="mobile">Phone Number</label></td></tr>
<tr><td>
<input type="text" name="pan" id='pan'></td>
<td>

<input type="tel" name="mobile" id='mobile'></td></tr>


</table>

<input type="submit" id="sub">


</form>

</body>

</html>

You might also like