David Lash DePaul University SNL 262 Web Page Design Forms! - Chapt 7 Instructor: David A. Lash.

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

Technologies for web publishing Ing. Václav Freylich Lecture 4.
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.
Gathering Requirements What do users want?. Information Gathering Techniques Surveys Interviews Focus Groups.
AdvWeb-1/12 DePaul University SNL 262 Web Page Design Forms! - Chapt 8 Instructor: David A. Lash.
USER INTERACTIONS: FORMS
David Lash DePaul University SNL 262 Web Page Design PHP and Dynamic Pages Web Wizard’s Chapter 1 Instructor: David A. Lash.
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 Forms Section A - Working with Forms in JavaScript.
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 –
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
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 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.
Forms and Form Controls Chapter What is a Form?
CSE 382/ETE 334 Internet and Web Technology Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Web111a_chapt06.ppt HTML: Section 6 Forms HTML tags: define data input and/or output Define the Input and/or Output on the web page Do not process the.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
Activity 2 Building a survey form using Dreamweaver Procedure
Website Development with PHP and MySQL Saving Data.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
1 HTML Forms
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
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.
ITCS373: Internet Technology Lecture 5: More HTML.
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.
HTML Forms A Preliminary Step into Dynamic Web Fred Durao
TJ 3043 – Web Application Development HTML Form. 2.0 Forms A form is the usual way to communicate information from a Web browser to a server HTML has.
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
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
HTML Forms a form is a container for input elements on a web page input elements contain data that is sent to the web server for processing.
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.
TJ 3043 – Web Application Development HTML Form. 2.0 Forms - A form is the usual way information is gotten from a browser to a server - HTML has tags.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
Introduction To HTML Form Inputs Written By George Gimian.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Page Design Forms! Website Design. Objectives What forms can do The Attributes of the form tag Using Textboxes Textareas Checkboxes Radio buttons.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Project 6 Creating Forms on a Web Page. Objectives Define terms related to forms Describe the different form controls and their uses Use the tag Create.
Creating Web Page Forms COE 201- Computer Proficiency.
Netprog CGI and Forms1 CGI and Forms A detailed look at HTML forms.
HTML Creating Forms on a Web Page. 2 Objectives  Discuss the process of creating a form  Distinguish between data input controls and text input controls.
Basic Webpage Design HTML Forms. Objectives Learn how to use HTML to create a form. Explain the concept of forms Know the difference of GET and POST Discuss.
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.
Creating Forms on a Web Page. 2 Introduction  Forms allow Web developers to collect visitor feedback  Forms create an environment that invites people.
1 HTML forms (cont.)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
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.
HTML FORM. Form HTML Forms are used to select different kinds of user input. HTML forms are used to pass data to a server. A form can contain input elements.
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.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
How to Write Web Forms By Mimi Opkins.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Introducing Forms.
Presentation transcript:

David Lash DePaul University SNL 262 Web Page Design Forms! - Chapt 7 Instructor: David A. Lash

David Lash 2 HTML Forms zHTML Forms are used to: yGather survey information on web ySubmit passwords yStructure queries on a database ySubmit orders yClick Here for an examplean example yhttp:// amples/08survey.htm

David Lash 3 HTML Forms zWhen submit a form it will be sent to a server script for processing HTML Form Submit Program or database on Webserver (e.g., condor)

David Lash 4 HTML Form Elements Text Box Radio Buttons Check Box Select Box Text Area Submit/Reset button

David Lash 5 Starting and Ending Forms  HTML forms are created by using the HTML and tags. y Within these tags, you place various HTML form elements, such as text areas, check boxes, and radio buttons. y For example, y..  ---(Your FORM elements here).

David Lash 6 Two primary arguments z<FORM ACTION=” METHOD=”POST”> – get appends the form arguments to the end of the Web address. – post sends the data as part of the body of the HTML document. – Will use post since get method may limit the amount of data you can send. ACTION= - Specifies the URL of the receiving file/program to start when the form is submitted METHOD= - Defines the argument format that will be used to send data to the receiving program/file.

David Lash 7 Some Form Tag Examples  Sends the results to a program at   Sends the results to via to yThe you get is a messy (Click here for example.) For that reason, most sites don’t submit directly but execute a program first.Click here for example

David Lash 8 The Big Picture For Forms Your Form Here (Checklists, Text Boxes, Drop-down lists, buttons, etc)

David Lash 9 Creating Text Boxes zText boxes are those input areas on a form where the customer can input free-format typing. For example click here.For example click here.

David Lash 10 Text Box: Format Please Enter Your Full Name Where yPlease Enter Your Full Name - is text to display immediately before the text box. yInput Type - A keyword that says how input will come in. You can say x"Text" - for text boxes with characters displayed in box as typed. x"Passwd" - For text boxes with asterisks "*" displayed in box as typed. ySIZE= Width of (in chars) the input box. yMAXLENGTH= - The max number of characters the user can type into box. y Name= The name identifier passed to the program. (E.g., name="David Lash" )

David Lash 11 Text Box: Format Please Enter Your Full Name Where y Name= The name identifier passed to the program. (E.g., name="David Lash" ) The resulting might look like: fullname=Dave+Lash

David Lash 12 Text Area: Format Just like text box but bigger. Click hereClick here <textarea NAME="UNIT_COMMENTS" ROWS=4 COLS=70 >Your comments here zName= The name identifier passed to the program. (E.g., name=”UNIT_COMMENTS”) zROWS, COLS = Number of cols and rows of text box

David Lash 13 Check Boxes Check boxes are pre-defined optional input that you check. Click Here for example

David Lash 14 Check Boxes: General Format Pick your favorite: Baseball Hockey Soccer Click Here for what it looks like: Pick your favorite: - This is a string of characters the shows up before check box. input TYPE="checkbox" - Says create a checkbox within the form. NAME=“soccer" - a name (e.g., soccer) to the checkbox that will be passed to the software. VALUE=“Like soccer" - Specifies the initial value of the control (all set to “like soccer”) Note: you can include a checked attribute that checks the box initially.

David Lash 15 Radio Buttons: General Format zRadio Boxes - (just like checked boxes - click here) click here) How is Web Site Design Going : I get my extra sleep in class. I get so confused I get lost trying to find my car after class. I gave up and copy my answers from my neighbor. Great class can't wait for the movie. Specifies to create a radio button Logical name is “variable1” Variable1 is “set” to “great” if this item is picked

David Lash 16 Selection Lists Here is an example zUse tag to create scrolling and pull-down pick lists. Electric windows AM/FM Radio Turbo Charger z name = the label shown from the mail. zsize =number of selections shown zmultiple = allow multiple options to pick zoption = the option to pick zoptions selected = pre-selected option.

David Lash 17 Submit Buttons zSubmit - (send it on down - click here)click here zCan also reset Create a submit button Put this text on the button. Use this gif image for button.

David Lash 18 Putting it all together Survey Form Class Survey Name: Class: Class Evaluation: Great Average Fair Poor Comments:

David Lash 19 Putting it all together Class Survey Name: Class Class Evaluation: Great Average Fair Poor Comments

David Lash 20 In Summary zWe spoke about yWhat are forms? yThe Form tag and arguments yHow to create xRadio buttons xChecklists xSelection lists xText boxes xText areas xSubmit buttons yHow to format it all nicely.

David Lash 21 Before We Leave zHomework ReviewHomework Review zTest Review