JSFiddle - React, Tailwind, and code Playground
by deathstalkersid
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div class="container">
<!-- Form Start -->
<form class="row g-3" id="surveyForm" action="<?= $data['action'] ?>" method="post">
<!-- One "tab" for each step in the form: -->
<!-- Tab 1 Start -->
<h1>Contact & Site Details</h1>
<!-- Row 1 Start -->
<div class="row">
<div class="col-md-7">
<label for="site_name" class="form-label">Site Name*</label>
<input type="text" class="form-control" id="site_name" name="site_name" placeholder="Enter Site Name" oninput="this.className = ''" required><br>
</div>
<div class="col-md-5">
<label for="poNum" class="form-label">PO Number*</label>
<input type="text" class="form-control" id="poNum" name="poNum" placeholder="Enter PO Number" oninput="this.className = ''" required><br>
</div>
<div class="col-md-5">
<label for="customer_name" class="form-label">Contact Name*</label>
<input type="text" class="form-control" id="customer_name" name="customer_name" placeholder="Enter Contact Name" oninput="this.className = ''" required>
</div>
<div class="col-md-7">
<label for="customer_email" class="form-label">Email Address*</label>
<input type="email" class="form-control" id="customer_email" name="customer_email" placeholder="Enter Email" oninput="this.className = ''" required><br>
</div>
<div class="col-4">
<label for="customer_mobile" class="form-label">Contact Number*</label>
<input type="tel" class="form-control" id="customer_mobile"...