IT 3215 Unit 05 Assignment Query, Strings and Storing Persistent Information
IT 3215 Unit 05 Assignment Query, Strings and Storing Persistent Information
Overview
As Web
forms get longer, we very commonly see them split across multiple pages to
collect all of the necessary information. There are different reasons for this.
A long form can be daunting for users and a large/long form can be difficult
for users to fill out on a mobile device. These forms need to be designed so
that the data entered by the user on the forms on each page will be submitted
to the Web server simultaneously. This makes more sense as they are part of the
same data set. The problem with stateless pages is that if the user moves from
one page to the next, the data entered is lost. To bypass this issue, you will
need to use query strings, hidden input fields, and cookies.
In this
assignment you will use the previously created registration.html file to send
information to a second page named confirm.html. You will write a script on
that page that will save the information from the form to a cookie and then
display it on a same page. If the user goes back to this confirm.html page, the
page should display the user form data from the registration entry that was
last entered.
Tips:
o It will help to output the array
into the browser console so that you can verify that the string is being
correctly parsed. Details on the browser console can be found in the Resources.
o To skip having to enter data into
the form each time to test, it may help to create a JavaScript function that
automatically fills in the fields for you and comment it out when completed.
Directions
Read the
Overview.
Modify the
“registration.html” page created in the prior assessment to send a
query (that has all input field information from that form) to a second page.
When the user presses submit, all of the input fields from the
registration.html form will be saved into a cookie. The user should then be
forwarded to a second page (confirm.html (created by you)) that will read the
cookie information and display it in a name/value pair using JavaScript.
Make sure
to do the following:
o Create and integrate a script on
the registration.html page passes all of the input fields from the form when
the submit button is pressed.
o Create a confirm.html page will
read in the input from the query string data from the registration.html page
and store them into variables first.
o Write a script that runs in
response to the submit event, that saves the input from the
registration.html page to a series of
cookies to store each input, and opens a second page called confirm.html that
reads and displays information from all the fields.
o Once completed, view your pages in
each of your two selected Web browsers to see if the content renders
appropriately and consistently within each. Next, verify that your code is
error-free using the appropriate browser-specific development tool found in the
Resources. Take a screen capture of each of your validation results and save it
for submission.
Submission
Requirements
o Upload your Web site files to your
Web host.
o Submit your work in the courseroom
using a single Zip file containing the following:
? Your entire Web site and all
associated files.
? A Word document with:
? The url to your Web site so faculty
can view your site on a live host.
? A screen capture of each of your
two validations that you completed using the developer tools found in the
Resources.
Resources
o Query Strings and Storing
Persistent Information Scoring Guide.
o Microsoft Edge Dev Tools.
o Chrome DevTools.
o Safari Web Inspector Guide.
o IT3215 Web Site Zip Files.
• Toggle Drawer
APA Writing Checklist
Use this document as a checklist for each paper you will write throughout your GCU graduate program. Follow specific instructions indicated in the assignment and use this checklist to help ensure correct grammar and APA formatting. Refer to the APA resources available in the GCU Library and Student Success Center.
Check Out Also : MSN 6218: Unit 4 Discussion DQ1 Providing Health Care
☐ APA paper template (located in the Student Success Center/Writing Center) is utilized for the correct format of the paper. APA style is applied, and format is correct throughout.
☐ The title page is present. APA format is applied correctly. There are no errors.
☐ The introduction is present. APA format is applied correctly. There are no errors.
☐ Topic is well defined.
☐ Strong thesis statement is included in the introduction of the paper.
☐ The thesis statement is consistently threaded throughout the paper and included in the conclusion.
☐ Paragraph development: Each paragraph has an introductory statement, two or three sentences as the body of the paragraph, and a transition sentence to facilitate the flow of information. The sections of the main body are organized to reflect the main points of the author. APA format is applied correctly. There are no errors.
☐ All sources are cited. APA style and format are correctly applied and are free from error.
☐ Sources are completely and correctly documented on a References page, as appropriate to assignment and APA style, and format is free of error.
Scholarly Resources: Scholarly resources are written with a focus on a specific subject discipline and usually written by an expert in the same subject field. Scholarly resources are written for an academic audience.
Examples of Scholarly Resources include: Academic journals, books written by experts in a field, and formally published encyclopedias and dictionaries.
Peer-Reviewed Journals: Peer-reviewed journals are evaluated prior to publication by experts in the journal’s subject discipline. This process ensures that the articles published within the journal are academically rigorous and meet the required expectations of an article in that subject discipline.
Empirical Journal Article: This type of scholarly resource is a subset of scholarly articles that reports the original finding of an observational or experimental research study. Common aspects found within an empirical article include: literature review, methodology, results, and discussion.
Adapted from “Evaluating Resources: Defining Scholarly Resources,” located in Research Guides in the GCU Library.
☐ The writer is clearly in command of standard, written, academic English. Utilize writing resources such as Grammarly, LopesWrite report, and ThinkingStorm to check your writing.