![]() |
Forms and ValidationAssignment 8The purpose of this assignment is to create an online form or questionnaire that provides feedback to you from a viewer of your CS110 Project website. The feedback from the form will be emailed to your own email address. The goal, of course, is to experiment with different ways of getting information from the user: typed input, radio buttons, menus, and so forth. You may decide to use a version of this form for your project testing — it could be a handy way for your testers to communicate their impressions of the site back to you. However, this is an individual assignment, therefore each student is required to work on it independently of her project partner! Helpful materials include: Specific TasksTask 1: Create the questionnaireCreate a folder On the top of the page, please include a sentence to let us know how long it took you to complete this assignment, using the following format: I took *** 3 hours *** to complete this assignment (the asterisks are important, because we use those to search for the information). You can be honest! We only use this information to make sure the assignment is a reasonable amount of work.Your questionnaire can contain any type of inputs that you find useful for your project website's evaluation. Here are the specific requirements:
Optional:
Upload the form on the server, and test to make sure everything works properly so far. Task 2: Validate the formIn this part of the assignment, you will write a Javascript function to validate the form.Your validating function should check that the three required inputs (marked with asterisks) in your form are filled out. Reminder: these should be three different types of input, so the validation will be done differently for each one.
Of course, the validating function should be called upon submission of the form, to perform its task. Make sure to test your code, and that your code is clear and easy to read.
Introduction | Syllabus | Assignments | Documentation | Project Computer Science 110Date Created: November 2002 Last Modified: April 2008 |