Design a form for the Patient Satisfaction Survey for a particular hospital having the following fields:
Patient's name
Patient's File number (Issued by the hospital)
Which Unit of the hospital the patient was admitted Select V (Surgery, Medicine, etc.)
Are you satisfied with overall treatment:
Very Satisfi Satisfied Not Satisfied
Are you satisfied with medical facilities in the hospital:
Very Satisfied Satisfied Not Satisfied
Overall Comments
Submit
Reset
Note : you are required judiciously choose the options for Text Box, Combo Box, Radio Button, Check Box, Buttons etc. for the respective fields required in the form
a) Submit button should enter all the fields’ data to the database.
b) Error message should be shown if a text field is left blank.
c) Reset button resets all the fields to the blank.
d) Use JavaScript to validate the fields
To design the Patient Satisfaction Survey form, I'll outline how the form could be structured in HTML with appropriate form controls such as text boxes, combo boxes, radio buttons, and buttons. Additionally, I'll include JavaScript code for validation, error handling, and resetting the form.
Here’s the structure:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Patient Satisfaction Survey</title>
<script>
// JavaScript function to validate the form
function validateForm() {
var name = document.getElementById("name").value;
var fileNumber = document.getElementById("fileNumber").value;
var unit = document.getElementById("unit").value;
var treatmentSatisfaction = document.querySelector('input[name="treatmentSatisfaction"]:checked');
var medicalFacilitiesSatisfaction = document.querySelector('input[name="medicalFacilitiesSatisfaction"]:checked');
if (name == "" || fileNumber ==
_____ __________ ______ __________ _________ __________ ______ _____ ________ _____ _______ _______.
_______ ___ _____ __________ ________.
______ __________ _____ ___ ______ ____.
_________ ________ ___ _________ ________ ____ _______ _________ ________ ______ ______ ________.
______ __________ ________ ________ _____ ______ ________ ________ ____ _______.
________ ________ ________ ______ ____ _________ _________ ___ ________ ________.
___ __________ _______ _______ __________ ______ _______ _____ _________ __________ ___.
______ _______ __________ ____ ___ _________.
___ ___ ___ ____ __________ _________ _______ ________ _______ ____.
___ ______ ____ _______ _________ ___ ____ _________ ___ _________.
___ ______ _____ ___ __________ ________ _____ _____.
______ ____ ____ _________ _____ ______ _________ ______ _________ ______ ________.
________ _______ _________ ______ __________ _________ ________ ___ _______.
__________ ________ ____ _________ __________ ________ ______ ___ ________ _______ ________ ______.
_________ ____ ______ _________ _____ _____ ___ _________ ____.
___ ___ ________ _____ _____ __________.
_______ ___ ______ ________ ________ __________ __________ ________.
_________ ____ ____ __________ _________ _________ ______ _________.
_______ _________ _________ __________ _____ __________ ____ ________.
____ ________ _______ _______ ____ ____ _____ ____ ___ _____ ______.
________ ____ _______ _________ _________.
__________ __________ ____ __________ ______ ____ ____.
____ ______ __________ ___ ________ ______ ________ __________.
_________ ________ _____ ________ ________ __________ ______ ________.
__________ ______ __________ _______ _____.
_______ ________ ________ ____ ________ ______ _________ ________ _________ ____.
__________ ________ _______ ___ ________ ____.
__________ _________ _________ ____ ___ ____ ________ ____ ____ ________ ____.
___ _____ __________ ____ __________ ________ _________ _________ ___.
______ ____ ___ _____ ______ ____ _____ ________ _____ ____ _____.
_____ ________ __________ ____ ________ __________ ______ ______ _____ __________ ___.
_______ ______ _________ _______ _________ _____ ___ ________ ___ _____ _________ ______.
______ ________ _______ _____ _____ ___ ______ ___ _________ _______ _________.
___ _______ _____ _____ __________ __________ ____ ____.
_________ ____ _________ ____ _____ _______ _________ ______ _______ __________.
_________ __________ __________ _____ ___.
_________ _______ ______ ______ ______ ____ _______ _______ ________ __________.
_____ ___ ___ _______ ____.
______ _______ _________ _______ ___ ___ _____ _________ ___.
_______ _______ _______ _____ ________ ____.
_______ _______ ___ _________ _______ ___ __________ ___.
______ _____ _________ ___ ____ ___ ____ _____.
______ _____ __________ ________ ____ _______ ___ __________.
___ __________ ______ ______ _______ _________ ___ ___.
_________ ____ _____ _____ _____ _______ ____.
___ ______ __________ _______ ______ ____ ______.
_______ _______ ________ _______ _________ _________ ______ ______ ________.
_______ _______ ____ _________ ___.
__________ ______ ________ _________ _____ ______ ___.
_______ _____ _______ _____ _______ ____.
_________ _________ ___ _________ ______ ___ ______.
__________ __________ __________ ________ ______ __________ ____ ______ _____ ____.
______ _______ _________ __________ ___ ______ ___ _____ _________ _______ ________.
___ ___ ______ _________ ________ _______ _____ ____ ___.
_______ ________ ___ _____ __________ ___ ___ _________ ______.
______ _________ _________ ______ _______ _______ _____ __________.
______ _______ ___ ________ _____ ____ __________.
______ _________ _____ __________ ________ _________.
___ ______ ____ ________ _____.
__________ _____ __________ _____ ____ ____ _________ ____ _______ _____.
_______ _________ ________ ___ ___ _________ _________ _________ ________ ______ ______.
________ _______ _________ _____ ______ ________ __________ _____.
_________ ___ _________ ________ _____ _________ _________.
____ __________ _______ ____ _______ ________.
_________ ______ ____ _________ ________ _____ _______ ________ __________.
_______ ____ _______ __________ ___ _____ ______.
_______ ________ ______ _______ ____ _____ _______.
___ _____ ________ _________ ________ ___ ____ ____ _____ ________ ____ _________.
_______ ______ ______ _________ _____ ________.
_____ ___ ______ ____ ______ _________.
___ _________ ______ _______ _______ _______.
________ __________ _______ _______ _____ ___ ______ ______ _____ ________ ____ __________.
______ _____ _____ __________ _____ ______ ______ __________ _______.
________ ______ __________ _________ ____ _____.
________ _____ ____ _________ _________ ______ _______ ____.
_____ ___ ___ ________ ______ ________ ________ __________ _____.
___ __________ _______ _________ _____ ________ ___ __________ _____.
______ _________ _____ _____ ______ _______ ______ __________ __________ _______.
___ ____ _________ _________ ___ _____ __________.
____ _________ ______ _________ ________.
______ ______ ________ _____ ____ ____ __________ ________.
_______ ____ ___ _________ ____.
____ _____ ___ ___ ____.
_________ ________ __________ ______ _______ _____.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required