Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.

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

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Dreamweaver Forms Overview. Forms – A Little Review Most user/webpage communication is one way, like this: Most user/webpage communication is one way,
Tutorial 6 Creating a Web Form
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
Computing Concepts Advanced HTML: Tables and Forms.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing 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
Tutorial 6: Creating a Web form
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
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.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
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.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
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.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 12 – Microsoft FrontPage Express Outline 12.1Introduction 12.2Microsoft FrontPage Express.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Creating a Web Site to Gather Data and Conduct Research.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 6 1 Microsoft Office FrontPage 2003 Tutorial 6 – Publishing a Web Site.
INTRODUCTORY Tutorial 8 Creating Forms. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Create an HTML form Create fields for text Create.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
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.
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.
Week 12 Working with Forms Objectives Understand how forms work Understand form syntax Create input objects Build forms within tables Build and.
1 HTML Forms
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
1 Building FORMS In When a visitor enters information into a web form displayed in a web browser and clicks the submit button, the information is sent.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
HTML Forms.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 6: Creating XHTML Forms Kelly.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Tutorial 6 Creating a Web Form
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
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
Chapter 5 Validating Form Data with JavaScript
Objectives Design a form Create a form Create text fields
ASP.NET Web Controls.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Unit I: Collecting Data with Forms
Presentation transcript:

Tutorial 7 Creating Forms

Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons and check boxes Session 7.2 – Insert drop-down lists – Create methods for sending data and clearing forms 2New Perspectives on Microsoft Expression Web 3.0

Objectives – Insert advanced command buttons – Create a way to upload a file – Organize and style form elements New Perspectives on Microsoft Expression Web 3.03

Visual Overview Form Controls New Perspectives on Microsoft Expression Web 3.04

How Data is Collected and Processed The XHTML form serves only to collect data A form handler is necessary to process the data collected – A form handler is software that runs on a server or on the user’s computer and processes information entered into the form – Scripting languages are used to create scripts – Scripts (sets of programming instructions) transfer data to the form handler New Perspectives on Microsoft Expression Web 3.05

How Data is Collected and Processed Common scripting languages include – Perl – ASP – PHP – ColdFusion – JavaScript Web scripts often referred to as CGI scripts – Common Gateway Interface A standard for communicating with web servers New Perspectives on Microsoft Expression Web 3.06

How Data is Collected and Processed Data sent to a server is stored in a database – A database is an organized collection of data A field represents a single kind of data in a database The HTML form element serves as a container for all elements in a form – Check boxes – Radio buttons – Text boxes New Perspectives on Microsoft Expression Web 3.07

How Data is Collected and Processed Creating the Form – A form begins with a start tag – Form Fields Areas on the form where users provide the data requested – Field Name – Field Value – Prompting text New Perspectives on Microsoft Expression Web 3.08

How Data is Collected and Processed Using Controls – A control is an object inserted in a form which enables users to interact with the form – Command Button A Windows control used to execute or reject user action, i.e., OK and Cancel buttons – Designer decides how to align the form controls Enter form controls between the and tags New Perspectives on Microsoft Expression Web 3.09

How Data is Collected and Processed Use CSS Create an HTML data table New Perspectives on Microsoft Expression Web 3.010

How Data is Collected and Processed Creating a Form Element – Every form must begin with a form element – This element appears in the Editing window with a dashed outline around its border – Form Control tools are located in the Toolbox panel Collapse the Tags and ASP.NET Controls section of the Toolbox panel and close the Apply Styles panel Form must be created within the Form control New Perspectives on Microsoft Expression Web 3.011

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.012

How Data is Collected and Processed – Every form must have a name New Perspectives on Microsoft Expression Web 3.013

How Data is Collected and Processed Determining the Form Structure – Align form elements horizontally and vertically for easy reading – Create form elements using a table Gridlines for form elements Easy alignment Float table left or right – Create form elements using CSS New Perspectives on Microsoft Expression Web 3.014

How Data is Collected and Processed Creating a Text Field – Use when creating just one line of text – Holds alphanumeric data – Use text field when you want to collect individual pieces of data First name Last name Zip code New Perspectives on Microsoft Expression Web 3.015

How Data is Collected and Processed – Use Text Box Properties dialog box to set unique characteristics Text box name Width Password New Perspectives on Microsoft Expression Web 3.016

How Data is Collected and Processed Creating Radio Buttons – Used to select a single choice from several choices – Common to have one button pre-selected – Form can have several different groups of radio buttons Each group must have a unique name Each button must be assigned a value – A value is the data that is sent to the form handler New Perspectives on Microsoft Expression Web 3.017

How Data is Collected and Processed Each button needs to have label text that the user can see New Perspectives on Microsoft Expression Web 3.018

How Data is Collected and Processed Creating Check Boxes – Can select zero, one, or multiple items from a list – Assign the same group name to each group of check boxes – Assign a value to each check box that will be sent to the form handler – Assign a label to each check box New Perspectives on Microsoft Expression Web 3.019

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.020

Visual Overview Form Controls New Perspectives on Microsoft Expression Web 3.021

How Data is Collected and Processed Creating a Drop-Down Box – Displays only one choice at a time – Helps conserve screen space – Assign a name to the control – The default choice created by Expression Web is displayed Does not have a value Can be modified – Use the Drop-Down Box Properties dialog box New Perspectives on Microsoft Expression Web 3.022

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.023

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.024

How Data is Collected and Processed – Use the Drop-Down Box Property dialog box to add additional choices New Perspectives on Microsoft Expression Web 3.025

How Data is Collected and Processed Creating a Text Area – Allows user to enter multiple lines of text – Often used to gather comments/feedback from customers – Assign a name to the control – Set the height and width Default is 2 rows high and 20 columns wide New Perspectives on Microsoft Expression Web 3.026

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.027

How Data is Collected and Processed Inserting an Upload File Control – Allows user to send a file when the Submit button is clicked Displays a text box in which name of file can be entered New Perspectives on Microsoft Expression Web 3.028

How Data is Collected and Processed Creating Command Buttons – A Command Button is a Windows control – OK and Cancel buttons are often seen on Web pages OK – submits the data – In an HTML form the input type “Submit” is used to transmit data contained in the form Cancel – clears the form – The input type “Reset” is used to clear the form New Perspectives on Microsoft Expression Web 3.029

How Data is Collected and Processed – Command buttons are also called push buttons – Text that appears on each button can be changed but cannot be styled New Perspectives on Microsoft Expression Web 3.030

How Data is Collected and Processed New Perspectives on Microsoft Expression Web Creating an Advanced Button – It is a Command button that can be styled – Uses the HTML element – Image can also be used as a button – Use the Advanced Button Properties dialog box to change button type and button text

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.032

How Data is Collected and Processed Organizing Form Controls – Organize form controls so they appear in the browser in related groups Textboxes in one group Radio buttons and check boxes in another Command buttons in a third group – Two XHTML elements available to organize form controls Fieldset element – draws border around related groups New Perspectives on Microsoft Expression Web 3.033

How Data is Collected and Processed Legend element – provides a caption that appears as part of the border – Use the Group Box control on the Toolbox panel to create the fieldset and legend elements Both can be styled, which allows for greater variety and visual interest New Perspectives on Microsoft Expression Web 3.034

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.035

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.036

How Data is Collected and Processed Completing and Styling the Form – Use the Option Button Properties dialog box to edit a setting for a radio button – Remove the table borders – Create a style for the form element to change the font, the margins, and the width New Perspectives on Microsoft Expression Web 3.037

How Data is Collected and Processed New Perspectives on Microsoft Expression Web 3.038