Question: .Form Validation Event Handling - Develop an event handler to handle onclick event when a user clicks the submit button on the Survey Form. The

.Form Validation Event Handling - Develop an event handler to handle onclick event when a user clicks the submit button on the Survey Form. The event handler should validate the following The Name text box should contain only Alphabets. o The Address text boxes should contain only appropriate numeric, alphabet or alphanumeric characters o o Make sure at least two checkboxes are checked. o Make sure a radio buton option is selected. o The Email Address should be valid. Validate above requirements and alert the user with a consolidated error message if the user missed filling out anything on the form that did not meet above criteria. Only the fields with errors should be cleared on alert and not all fields. In addition, ensure that there is a Reset button on the form and when clicked, the Reset button clears the form contents. .Form Validation Event Handling - Develop an event handler to handle onclick event when a user clicks the submit button on the Survey Form. The event handler should validate the following The Name text box should contain only Alphabets. o The Address text boxes should contain only appropriate numeric, alphabet or alphanumeric characters o o Make sure at least two checkboxes are checked. o Make sure a radio buton option is selected. o The Email Address should be valid. Validate above requirements and alert the user with a consolidated error message if the user missed filling out anything on the form that did not meet above criteria. Only the fields with errors should be cleared on alert and not all fields. In addition, ensure that there is a Reset button on the form and when clicked, the Reset button clears the form contents
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
