Create a contact form and run it

Assignment Help Basic Computer Science
Reference no: EM13982070

Need a contact form with the following:

A form for new clients to fill out and submit

The form must contain the following fields:

o First Name

o Last Name

o Street Address o City

o State o Zip Code

o Message

A button labeled "Submit"

When the button is clicked, the data in the form should be validated.

Validation should confirm that all input meets the following requirements:

o All fields are required and therefore must contain some data.

o The data in the First Name field must be greater than 1 character and less than 20.

o The data in the Last Name field must be greater than or equal to three characters, and less than 20.

o The data in the State field must be exactly two characters.

If the form contains any invalid data based on the rules defined above, a "glyphicon-remove" icon should be displayed next to the field (HINT: By adding/removing one more classes to/from a span via a JavaScript, glyphicons can toggle on/off dynamically) and an alert message should be displayed instructing the user to fix the error.

o NOTE: If invalid data is corrected, the glyphicon-remove should be removed.

If all fields are validated as containing correct input, a confirm window should be displayed.

o The confirm window should include the following content:

The content from all fields

A request for the user to confirm the input with OK, or CANCEL to edit o If the user selects OK in the confirm window:

An alert window should be displayed indicating that the message was sent, along with a date/time stamp of the current time.

The form should be reset (all text should be cleared and no glyphicons should be visible).

o If the user selected CANCEL in the confirm window:

The confirm window should close and all user data should remain in the form.

Format for submission: Need HTML file and JavaScript files.

Reference no: EM13982070

Questions Cloud

What is the difference between the fed and the treasury : What is the structure of the Fed? What is the difference between the Fed and the Treasury? What are the goals of the Fed? What actions are at the disposal of the Fed?
What are the two principles of protocol layering : Define the three types of data flow. What are the two principles of Protocol Layering?
Library of customer success stories : A consulting company that provides software and services relating to business intelligence and analytics has a library of customer success stories on its website at http://www.sas.com/success/indexByTopic.html#1000.1001.0000.
Original real wage rate-employment-output-real interest rate : What is the effect of a decrease in wealth on the IS-LM-FE graphical model, as well as what it would do to the original real wage rate, employment, output, real interest rate, , consumption, private saving, investment, and price level in short run eq..
Create a contact form and run it : If the form contains any invalid data based on the rules defined above, a "glyphicon-remove" icon should be displayed next to the field (HINT: By adding/removing one more classes to/from a span via a JavaScript, glyphicons can toggle on/off dynami..
How would you find the approximate value ofm : You are told nothing else aboutf, but you may ask for the value off(x) for any values ofx you choose. How would you find the approximate value ofm? How accurately could you findmif you could choose only 10 values ofx for which to evaluatef(x)?
Sarbanes-oxley implications on the preceding facts : Discuss the Sarbanes-Oxley implications on the preceding facts. Cite specific provisions of SOX that are identified. Discuss areas where other violations could occur.
What is the change in capital-labor ratio in initial period : Suppose an economy has the following per-worker production function: What is the consumption in the initial period? What is the change in the capital-labor ratio in the initial period?
How many electrons can be put into the shell : These numbers can be obtained by adding the numbers given in the figure for the subshells contained within a given shell. How many electrons can be put into the n = 5 shell?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd