Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Project Description

One of the most common uses of client-side JavaScript is to validate form data. When we say "validate" form data, we mean ensuring that the data entered is clean, error free, formatted correctly, and meets certain criterion. The validation of input data is crucial because it ensures that the data is captured in a format that can be used most efficiently. Web designers and developers use client-side JavaScript as one method for validating user-inputted data. The purpose of this project is to build an HTML5 registration form and use JavaScript functions to validate user-inputted data.

Rregistration form screenshot Screenshot image of what your form should look like when completed.

This is a screenshot - The image is not clickable.

Project Requirements

Create an input from using HTML5 and JavaScript. The form will validate and collect information form the user and then e-mail the result to your personal e-mail address.

Fields Validation Name The use is required to enter a first and last name. You must create two text boxes (one for the first name and one for the last name). Neither field must be blank. Include default text in the first and last name fields. Remove the default text once the user selects the field.

First Name and Last Name Field Types: Alpha only.

Address The user is required to enter a valid mailing address. You must create three separate text boxes to gather city, state, and zip code information. The address can not be blank.

Zip Code: Numeric only (5 digits)

Address Field: Alphanumeric characters

City: Alpha only

State: (Selected from a pull down menu) The user must select a state.

Phone Number The user must enter a valid 10 digit phone number, including area code. You must create two text boxes to gather the user's phone number. These fields can not be blank.

Area Code: (3 digits)

Phone Number: (7 digits)

E-mail Address The user must enter a valid e-mail address that follows the standard e-mail convention , where the length of "name" can be up to 64 characters in length, and "domain" may be up to 252 characters in length.
If an invalid e-mail address is entered, the user should receive a message similar to "You have entered an invalid e-mail address".

Confirm E-mail Address The user must enter in the exact same e-mail address entered in the previous E-mail Address field. If not, an error message will be generated. Meal Preference

The user must select a meal preference from a radio button list (Vegan, Vegetarian, Non-Vegetarian).
Contact Method

The user must select at least two of four contact methods listed on the form. An error message will display when less than two (zero or one) methods are selected.

Comments

Optional field for additional comments. Field length (250 characters). This field can be blank.

Buttons Function Submit The Submit Button, when clicked, will display all of the errors on the form. If errors exist on the form, the form data will not be e-mailed.

Once all errors have been removed AND all of the default text has been replaced, data entered into the form will be transmitted via e-mail. The Submit Button should call the submit () event handler function.

Reset The Reset Button will reset all of the fields on the form to a blank state. The Reset Button should call the reset () event handler function.

Use // to document your code by providing comments that explain the purpose of all lines of code you write.

Submission Requirements

Please complete the following:

Host your working registration from online using the Nova Server (provide the URL in your submission).

Submit the HTML files you used to create the registration form to the Project's Assignments Folder.

Write a Project Reflection (see description below).

Project Reflection

Answer the following questions when you submit your assignments files.

What issues or challenges did you face completing this project?

Did you complete the Advanced Challenge? If so, which challenge items did you complete?

Please submit your Project Reflection as a Microsoft Word document or just copy and paste your answers in your Assignments Folder's text box when you submit your assignment along with the rest of the required project files.

HTML Validation

Your pages should validate without errors using the W3C HTML Markup Validation Service.

How to do this:

Publish your pages to Nova

Go to the W3C validator and paste in the URL to your index.html page

Select the check button

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M92527984

Have any Question?


Related Questions in E-Commerce

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As