1. Create a form that includes 2 textboxes (one for name, one for email address), a textarea, a dropdown box (<select> tag), a set of radio buttons, a set of checkboxes, and a button that submits the form input and a button that clears it. Format the form using a table. The ACTION attribute of the form tag should be to email the form results to your email address. If you have created a form in another class or in another homework assignment, feel free to use that form here. (4)
a) Validate that an entry has been made in each form element - textbox, textarea, dropdown box , radio buttons, checkboxes
3. If the user input for a particular form element fails the test in part 2, display a message in red text in the page (not a separate window) indicating the problem. When the user clicks the submit button, all the deficiencies in the form should be displayed. Make your code work in Internet Explorer 4 and 5, Netscape 4.7, and Netscape 6 (this will require 3 different DHTML codings). If there are deficiencies in the form, the form input should not be emailed.
4. If the user changes the form input and clicks the submit button again, the validation described in part two above should occur again, with only the remaining deficiencies displayed.