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

  Explain which is used in object-oriented programming

Explain the term data hiding, which is used in object-oriented programming. Is data hiding a valuable security consideration? Why or why not

  Demonstrate an awareness of the nature of computer systems

Semester: E14 Module Code: PF008 Module Title: Computer Literacy Programme BSc and BA (Honours) Level: Level 3 Awarding Body: University of Plymouth Module Leader Tex Dunstan Format:

  Describe findings after conducting internet search for cde

The network administrator mentions that other ".cde" files have been sent through an FTP server to another site. Describe your findings after conducting an Internet search for ".cde" files.

  Write a reference based implementation of a queue

Write a reference based implementation of a queue that uses a linear linked list to represent the items in the queue

  Job satisfaction influence job performance

Explain why you agree or disagree with your results. Develop strategies to advance your career using your strengths. How can you use goal-setting to increase motivation and improve job performance? How might your engagement as an employee and job sat..

  Would you agree with the materialism philosophy.state reason

Extending this argument, is it possible for artificial intelligence to surpass human intelligence? Substantiate your position with references, length around 500 words.

  Receive the measurement for the diam-eter of a circle

Design an algorithm that will prompt for and receive the measurement for the diam-eter of a circle, and calculate and display the area and circumference of that circle. Your program is to continue processing until a sentinel of 999 is entered.

  Using a unified modeling language class diagram

Consider the properties or attributes and methods that are related to your product. Using a Unified Modeling Language (UML) class diagram, describe these properties and methods.

  The provided assignment submission attach file

Screenshot File Submission: You must submit the screenshot file(s) using the provided Assignment Submission Attach File function located in the Blackboard online course shell. To access Assignment Submission Attach File function, you must select the ..

  The medical biller

A physician has treated a patient who has a diagnosis that is not listed on the superbill. How is this handled by the physician? The medical biller?

  Creating an entity-relationship diagram

The next step will be to start on the data design for the TIMS project. This will involve creating an entity-relationship diagram (ERD) after reviewing all the associated entities and considering any interactions between entities. This will also i..

  A common theme emerging from the group postings?

Is there a common theme emerging from the group postings?

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