Brief Overview of Web Forms L. G. Piper Bunker Hill Community College 23 March 2011.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Tutorial 6 Working with Web Forms
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Forms Describe common uses of forms on web pages
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Creating Web Page Forms
ECA 228 Internet/Intranet Design I Forms. ECA 228 Internet/Intranet Design I Forms forms are a way for a user to communicate with you – text fields –
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
CST JavaScript Validating Form Data with JavaScript.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
CO1552 Web Application Development HTML Forms. Websites can be made more interactive by providing facilities for users to provide data To get user entered.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 7: Web Forms.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 7: Web Forms © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Website Development with PHP and MySQL Saving Data.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
HTML Forms.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
1 HTML Forms
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
1 HTML Forms
FORMS. Forms are used to receive information from the web surfer, such as: their name, address, credit card, etc. Form fields are objects that allow.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
Introduction To HTML Form Inputs Written By George Gimian.
SYST Web Technologies SYST Web Technologies XHTML Forms.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Creating Web Page Forms COE 201- Computer Proficiency.
HTML Form Inputs. Creating a basic form …content goes here…
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 6: Creating XHTML Forms Kelly.
1 HTML forms (cont.)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Tutorial 6 Creating a Web Form
Web Forms. Web Forms: A form allows our web visitors to submit information to us. Some examples uses for forms are to let the web user contact us, fill.
Lesson 5 Introduction to HTML Forms. Lesson 5 Forms A form is an area that can contain form elements. Form elements are elements that allow the user to.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
FORMS Explained By: Jasdeep Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
Designing Forms Lesson 10.
Web Development & Design Foundations with H T M L 5
Lesson 6: Web Forms.
Presentation transcript:

Brief Overview of Web Forms L. G. Piper Bunker Hill Community College 23 March 2011

CMT111-01/M1—23March2011 — 2 Collecting Data with Forms  Forms provide interaction with site visitor –set properties of page to suit visitor –collect data from visitor e.g. name, address, etc. for contact e.g. items and quantities to be purchased search terms to find articles on site Example: My on-line contact form that some of you all use to me

CMT111-01/M1—23March2011 — 3 Form Basics  All form objects are wrapped inside … tag pair –attributes inside the tag tell how to process the form id action—what to do with form data, e.g. send it to a php page for processing method—the means to send the data to where it is processed –get—through the browser (used by Google searches) data appended to a URL as ascii data (not secure) less secure and amount of data are limited to ~8K –post—a more secure way to send data to your web server sends id/value data for each form object in form of associative array to target of the action, inside an encrypted binary file  Example—opening tag of contact form:

CMT111-01/M1—23March2011 — 4 Key Features of Contact Form Text field—enter (or display) a line of text Text area field— enter multiple lines of text form buttons— ”submit” and “reset” most common field set—organize the inputs into groups to make form easier to understand. label—can label form inputs to make them easier to understand Can also pre-fill in some fields to make them easier to understand

CMT111-01/M1—23March2011 — 5 Sketch of Web Form ( illustrating the most import form objects) Text field—enter a line of text check boxes— choose or not choose, any or all radio buttons—can choose only one list box—choose a single item from a drop-down list form buttons— ”submit” and “reset” most common Text area field— enter multiple lines of text

CMT111-01/M1—23March2011 — 6 Web Form for Tutorial 6 radio buttons—can choose only one list box—choose a single item from a drop-down list check box—choose or not choose, any or all (only one here)

CMT111-01/M1—23March2011 — 7 Form Object  is most common form object  attributes select the type –type=“text”—a box for entering a line of text –type=“radio”—radio buttons: select just one member of a group –type=“checkbox”—check boxes: select any or all members in group –type=“button” type=“submit” and type=“reset” are special-purpose buttons –and some others (file, hidden, password, …)  other important attributes –name and/or id[need to associate a name so data can be sent] –value set the initial text, check, … in the element changes get processed when form submitted –javascript calls onfocus=“someScript();” onclick=“someScript();” onsubmit=“someScript();” etc.

CMT111-01/M1—23March2011 — 8 Additional Form Features  Selection lists, option lists, or drop-down menus –wrap tag set around a number of tag sets  Organize groups of form objects by wrapping in tags  Form-object labels –provide extra information –larger click target  Add behaviors (snippets of javascript) to form objects –form validation –change web page content/presentation  Most forms are processed via server-side scripts after clicking submit button