- // admin.js
- document.getElementById("underwriterRegistrationForm").addEventListener("submit", function(event) {
- event.preventDefault(); // Prevent the form from submitting
- // Collect underwriter registration data
- const userId = document.getElementById("userId").value;
- const userName = document.getElementById("userName").value;
- const userDob = document.getElementById("userDob").value;
- const userJoinDate = document.getElementById("userJoinDate").value;
- const userPassword = document.getElementById("userPassword").value;
- // You can implement the underwriter registration logic here
- // For demonstration purposes, alert the data collected
- alert(`Underwriter Registration:
- User ID: ${userId}
- Name: ${userName}
- Date of Birth: ${userDob}
- Joining Date: ${userJoinDate}
- Default Password: ${userPassword}`);
- });
[text] try 4
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: