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 –

Slides:



Advertisements
Similar presentations
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.
Advertisements

Lecture 14 HTML Forms CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
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.
HTML and XHTML Controlling the Display Of Web Content.
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.
Form Basics CS Web Data  Most interesting web pages revolve around data  examples: Google, IMDB, Digg, Facebook, YouTube, Rotten Tomatoes  can.
USER INTERACTIONS: FORMS
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.
HTML F ORMS. F ORMS HTML forms are used to pass data to a server. An HTML form can contain input elements like text fields, checkboxes, radio-buttons,
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
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.
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.
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?
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.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Forms. Forms Forms are used for e-commerce, online purchases, surveys, registrations, etc. Website using forms usually collect information and must use.
HTML 4 Hypertext Markup Language Creating Forms Science & Art Multimedia.
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.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
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.
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.
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.
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
1 Review of Form Elements. 2 The tag Used in between tags.  Form elements(text control, buttons, etc.. ) goes here. OR  Form elements(text control,
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.
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.
+ 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.
1 HTML forms (cont.)
©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.
Creating Web Page Forms COE 201- Computer Proficiency.
Netprog CGI and Forms1 CGI and Forms A detailed look at HTML forms.
HTML Forms.
Week 10: HTML Forms HNDIT11062 – Web Development.
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Creating Forms on a Web Page. 2 Introduction  Forms allow Web developers to collect visitor feedback  Forms create an environment that invites people.
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.
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.
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.
ITE 115 Creating Web Page Forms
Introducing Forms.
Creating Form Elements
CNIT 131 HTML5 - Forms.
The Internet 10/27/11 XHTML Forms
Presentation transcript:

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 – radio button – checkboxes – drop down menus – buttons

ECA 228 Internet/Intranet Design I Forms forms will not be much use unless you provide a way to process the user’s information – cgi – other scripting languages send save to database write cookie – mailto – form processing service

ECA 228 Internet/Intranet Design I to create a form use the tagset all other parts of a form are placed inside the tagset Attributes: – name – method – action – enctype

ECA 228 Internet/Intranet Design I attributes name – gives a unique id to the form – if your page contains more than one form, give each a unique name every form element will be given a unique name DO NOT use spaces in the name … rest of form elements …

ECA 228 Internet/Intranet Design I attributes cont … method – tells browser how to send the user’s data – get appends data to URL limits the amount of data that can be sent – post

ECA 228 Internet/Intranet Design I attributes cont … method – what the user types into a form element is paired with the name we give the element – when the form is submitted, the data is sent as name/value pairs firstName=Bubba&lastName=LeTourneaux& =

ECA 228 Internet/Intranet Design I attributes cont … action – indicates how the user input is to be processed cgi other scripting language mailto form processing service

ECA 228 Internet/Intranet Design I attributes cont … enctype – indicates how the data being sent is to be formatted – if you are using mailto: as the action, set the enctype to “text/plain” – if you are using a script to process the form, do not use the enctype attribute

ECA 228 Internet/Intranet Design I form elements text boxsubmit passwordreset checkboxhidden radioimage selectbutton textareafile many form elements are defined as an attribute inside the tag

ECA 228 Internet/Intranet Design I text required attributes – type – name optional attributes – size – maxlength – value

ECA 228 Internet/Intranet Design I password required attributes – type – name optional attributes – size – maxlength – value

ECA 228 Internet/Intranet Design I radio required attributes – type – name – value optional attributes – checked

ECA 228 Internet/Intranet Design I radio cont … give the same name to groups of related radio buttons change the value in groups of related radio buttons radio buttons allow only one choice per set

ECA 228 Internet/Intranet Design I radio cont … h

ECA 228 Internet/Intranet Design I checkbox required attributes – type – name – value optional attributes – checked

ECA 228 Internet/Intranet Design I checkbox cont … give the same name to groups of related checkboxes change the value in groups of related checkboxes checkboxes allow more than one choice per set

ECA 228 Internet/Intranet Design I checkbox cont … h

ECA 228 Internet/Intranet Design I tagset creates a drop down menu required attributes – name optional attributes – size – multiple – selected

ECA 228 Internet/Intranet Design I cont … tag is placed between tagset required attributes of – value Golden Retriever Border Collie German Shepherd Standard Poodle Papillon

ECA 228 Internet/Intranet Design I cont … To change the drop down menu to a list box use the size attribute Golden Retriever Border Collie German Shepherd Standard Poodle Papillon

ECA 228 Internet/Intranet Design I cont … To allow more than one choice use the multiple attribute Golden Retriever Border Collie German Shepherd Standard Poodle Papillon

ECA 228 Internet/Intranet Design I cont … To pre-select an option use the selected attribute Golden Retriever Border Collie German Shepherd Standard Poodle Papillon

ECA 228 Internet/Intranet Design I cont … To group menu items use the tagset with the label attribute Golden Retriever Border Collie German Shepherd Standard Poodle Papillon

ECA 228 Internet/Intranet Design I required attributes – name – rows – cols Please write your comments here

ECA 228 Internet/Intranet Design I submit required attributes – type optional attributes – value

ECA 228 Internet/Intranet Design I reset required attributes – type optional attributes – value

ECA 228 Internet/Intranet Design I image required attributes – type – src – width – height – alt

ECA 228 Internet/Intranet Design I hidden required attributes – type – name – value

ECA 228 Internet/Intranet Design I button required attributes – type – name – value

ECA 228 Internet/Intranet Design I file required attributes – type – name additional attributes – size in tag must use enctype = “multipart/form-data” as attribute

ECA 228 Internet/Intranet Design I organizing form elements to separate a form into smaller organized units use the tagset optional tagset provides textual label Personal Information Last Name: First Name: Address: City: : State: