Chapter 12 Working with Forms Principles of Web Design, 4 th Edition.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

1 A B C
Scenario: EOT/EOT-R/COT Resident admitted March 10th Admitted for PT and OT following knee replacement for patient with CHF, COPD, shortness of breath.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Introduction to XHTML Programming the World Wide Web Fourth edition.
AP STUDY SESSION 2.
1
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Manuscript Central Training Author Center Module 2.
David Burdett May 11, 2004 Package Binding for WS CDL.
Microsoft Access 2007 Advanced Level. © Cheltenham Courseware Pty. Ltd. Slide No 2 Forms Customisation.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Create an Application Title 1D - Dislocated Worker Chapter 9.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Human Service Providers and Referrals Chapter 5. Human Service Providers and Referrals 5-2 Objectives Demonstrate the process for entering a Human Service.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
Break Time Remaining 10:00.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
1 IMDS Tutorial Integrated Microarray Database System.
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Item Class User Friendly Maintenance  Copyright.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
2004 EBSCO Publishing Presentation on EBSCOadmin.
: 3 00.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
Essential Cell Biology
Converting a Fraction to %
ANSC644 Bioinformatics-Database Mining 1 ANSC644 Bioinformatics §Carl J. Schmidt §051 Townsend Hall §
Clock will move after 1 minute
PSSA Preparation.
Chapter 11 Creating Framed Layouts Principles of Web Design, 4 th Edition.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Chapter 13 Web Page Design Studio
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
1.step PMIT start + initial project data input Concept Concept.
Introduction Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September 9, 2010.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Chapter 9 Working with Forms. Principles of Web Design 2nd Ed. Chapter 9 2 Principles of Web Design Chapter 9 Objectives Understand how forms work Understand.
Principles of Web Design 6 th Edition Chapter 11 – Web Forms.
Working with Forms. How Forms Work Forms let you build interactive Web pages that collect information from a user and process it on the Web server The.
Week 12 Working with Forms Objectives Understand how forms work Understand form syntax Create input objects Build forms within tables Build and.
Web Programming– UFCFB Lecture 10
Principles of Web Design 5th Edition
Presentation transcript:

Chapter 12 Working with Forms Principles of Web Design, 4 th Edition

12-2 Objectives Understand how forms work Understand form syntax Create input objects Build forms within tables Build and test a sample form

Principles of Web Design, 4th Edition12-3 Understanding How Forms Work

Principles of Web Design, 4th Edition12-4 Understanding How Forms Work Forms let you build interactive Web pages that collect information from a user and process it on the Web server The HTML form is the interface for the user to enter data The data is processed by applications that reside on the Web server

Principles of Web Design, 4th Edition12-5

Principles of Web Design, 4th Edition12-6 Using CGI Scripts The Common Gateway Interface (CGI) is the communications “bridge” between the Internet and the server Using programs called scripts, CGI can collect data sent by a user via the Hypertext Transfer Protocol (HTTP) and transfer it to a variety of data processing programs including spreadsheets, databases, or other software running on the server

Principles of Web Design, 4th Edition12-7

Principles of Web Design, 4th Edition12-8 Using CGI Scripts (continued) The data processing software can then work with the data and send a response back to CGI, and then onto the user The user enters data via an HTML form

Principles of Web Design, 4th Edition12-9 Understanding Form Syntax

Principles of Web Design, 4th Edition12-10 Forms Syntax Five basic form elements are commonly supported by the major browsers: –

Principles of Web Design, 4th Edition12-11 Forms Syntax (continued) HTML 4.01 introduced five new form elements: –

Principles of Web Design, 4th Edition12-12 Using the element The element is the container for creating a form A variety of attributes describe how the form data will be handled

Principles of Web Design, 4th Edition12-13

Principles of Web Design, 4th Edition12-14 Using the element (continued) The following code shows a typical element:

Principles of Web Design, 4th Edition12-15 Creating Input Objects

Principles of Web Design, 4th Edition12-16 Creating Input Objects The element defines many of the form input object types The type attribute specifies the type of input object

Principles of Web Design, 4th Edition12-17

Principles of Web Design, 4th Edition12-18 Creating Text Boxes The text box is the most commonly used form element

Principles of Web Design, 4th Edition12-19

Principles of Web Design, 4th Edition12-20 Creating Check Boxes Check boxes are an on/off toggle that the user can select Smallmouth Bass

Principles of Web Design, 4th Edition12-21

Principles of Web Design, 4th Edition12-22 Creating Radio Buttons Radio buttons are like check boxes, but only one selection is allowed Yes

Principles of Web Design, 4th Edition12-23

Principles of Web Design, 4th Edition12-24 Creating Submit & Reset Buttons The submit and reset buttons let the user choose whether to send the form data or start over

Principles of Web Design, 4th Edition12-25

Principles of Web Design, 4th Edition12-26 Creating a Custom Event Button Custom event buttons activate a function in some associated program or script Click the calculate button to total your order:

Principles of Web Design, 4th Edition12-27

Principles of Web Design, 4th Edition12-28 Creating an Image for the Submit Button You can choose an image file and use it instead of the default submit button

Principles of Web Design, 4th Edition12-29

Principles of Web Design, 4th Edition12-30 Letting the User Submit a File Users can select a file on their own computer and send it to the server Use the browse button to select your file:

Principles of Web Design, 4th Edition12-31

Principles of Web Design, 4th Edition12-32 Creating a Password Entry Field The password input box works like the text input, but the entered text is hidden by asterisks password:

Principles of Web Design, 4th Edition12-33

Principles of Web Design, 4th Edition12-34 Using the Element The element lets you create a list box or scrollable list of selectable options Canoe Jon Boat Kayak Bass Boat Family Boat

Principles of Web Design, 4th Edition12-35

Principles of Web Design, 4th Edition12-36 Using the Element (continued) You can choose to let the user pick multiple values from the list by adding the multiple attribute Potato Chips Popcorn Peanuts Pretzels Nachos Pizza Fries

Principles of Web Design, 4th Edition12-37

Principles of Web Design, 4th Edition12-38 Using the Element (continued) You group and label sets of list options with the element and label attribute Potato Chips Popcorn Peanuts Pretzels

Principles of Web Design, 4th Edition12-39

Principles of Web Design, 4th Edition12-40 Using the Element The element lets you create a larger text area for user input Briefly tell us your favorite fish story: Enter your story here...

Principles of Web Design, 4th Edition12-41

Principles of Web Design, 4th Edition12-42 Creating Input Groupings You can use the and elements to create groupings of different types of input elements

Principles of Web Design, 4th Edition12-43 Creating Input Groupings (continued) Select the species you prefer to fish: Smallmouth Bass Largemouth Bass Pike

Principles of Web Design, 4th Edition12-44

Principles of Web Design, 4th Edition12-45 Building Forms within Tables

Principles of Web Design, 4th Edition12-46 Building Forms within Tables Placing forms within a table can enhance the layout and legibility of the form

Principles of Web Design, 4th Edition12-47

Principles of Web Design, 4th Edition12-48

Principles of Web Design, 4th Edition12-49 Summary You will need to work with some type of server-based software program to process the data from your form You have a variety of form elements to choose from when building a form –Use the correct type of form element for the type of data you are gathering –For example, use check boxes for multiple-choice questions; for a long list of choices, use a select list

Principles of Web Design, 4th Edition12-50 Summary (continued) The and elements let you create more visually appealing forms that have logical groupings of input elements with a title You can control the ragged look of forms by placing them within tables to control the alignment of input elements