89 lines
5.1 KiB
PHP
89 lines
5.1 KiB
PHP
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Sample Survey - Survey App</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
<meta name="description" content="Built with Flatlogic Generator">
|
|
<meta name="keywords" content="survey, feedback, questionnaire, form builder, online survey, poll, data collection, research, customer feedback, employee engagement, market research, Built with Flatlogic Generator">
|
|
<meta property="og:title" content="clone surveymonkey software">
|
|
<meta property="og:description" content="Built with Flatlogic Generator">
|
|
<meta property="og:image" content="">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container py-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="text-center mb-5">
|
|
<h1 class="display-5 fw-bold">Customer Feedback Survey</h1>
|
|
<p class="lead text-muted">We value your feedback! Please take a moment to share your thoughts.</p>
|
|
</div>
|
|
|
|
<div class="survey-card p-4 p-md-5">
|
|
<form action="submit.php" method="POST" id="surveyForm">
|
|
|
|
<!-- Question 1: Multiple Choice -->
|
|
<div class="mb-5">
|
|
<label class="form-label">1. How satisfied are you with our product?</label>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="satisfaction" id="verySatisfied" value="very_satisfied" required>
|
|
<label class="form-check-label" for="verySatisfied">Very Satisfied</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="satisfaction" id="satisfied" value="satisfied">
|
|
<label class="form-check-label" for="satisfied">Satisfied</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="satisfaction" id="neutral" value="neutral">
|
|
<label class="form-check-label" for="neutral">Neutral</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="satisfaction" id="unsatisfied" value="unsatisfied">
|
|
<label class="form-check-label" for="unsatisfied">Unsatisfied</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="satisfaction" id="veryUnsatisfied" value="very_unsatisfied">
|
|
<label class="form-check-label" for="veryUnsatisfied">Very Unsatisfied</label>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Question 2: Text Area -->
|
|
<div class="mb-5">
|
|
<label for="comments" class="form-label">2. Do you have any comments or suggestions?</label>
|
|
<textarea class="form-control" id="comments" name="comments" rows="5" placeholder="Your feedback helps us improve..."></textarea>
|
|
</div>
|
|
|
|
<!-- Question 3: Select -->
|
|
<div class="mb-5">
|
|
<label for="howHeard" class="form-label">3. How did you hear about us?</label>
|
|
<select class="form-select" id="howHeard" name="how_heard">
|
|
<option selected disabled value="">Choose an option...</option>
|
|
<option value="social_media">Social Media</option>
|
|
<option value="friend">From a friend</option>
|
|
<option value="search_engine">Search Engine (Google, etc.)</option>
|
|
<option value="advertisement">Advertisement</option>
|
|
<option value="other">Other</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary btn-lg">Submit Feedback</button>
|
|
</div>
|
|
</form>
|
|
<div id="form-messages" class="mt-3"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|