Problem:
Multiple POST requests are sent if the submit button is clicked multiple times.
Steps to Reproduce:
- Navigate to the incident report form.
- Enter data.
- Click submit multiple times in rapid succession.
Expected:
The submit button should be disabled after the first click.
Actual:
The submit button remains active and allows multiple POST requests.
Solution:
Implement JavaScript to disable the submit button on the first click and re-enable it based on the server's response.
Acceptance Criteria:
- Submit button is disabled after the first click.
- No multiple POST requests are sent.
- Button re-enables on server failure response.