1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer & Mathematical Sciences, Universiti Teknologi.

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

Technologies for web publishing Ing. Václav Freylich Lecture 4.
Web Database Programming Input Validation. User Input on the Web Web browser built-in mechanisms –HTML Forms HTTP POST method –Hyperlinks HTTP GET method.
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.
Using Entities & Creating Forms Jill R. Sommer Institute for Applied Linguistics Kent State University.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
CST JavaScript Validating Form Data with JavaScript.
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.
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.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
HTML Forms What is a form.
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.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
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.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.
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.
HTML and FORMS.  A form is an area that can contain form elements.  Form elements are elements that allow the user to enter information (like text fields,
CSC317 – INTERNET PROGRAMMING CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT BY: MUHD EIZAN SHAFIQ BIN ABD AZIZ FACULTY of COMPUTER and MATHEMATICAL SCIENCES.
Week 12 Working with Forms Objectives Understand how forms work Understand form syntax Create input objects Build forms within tables Build and.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT BY: SITI NURBAYA ISMAIL FACULTY of COMPUTER and MATHEMATICAL SCIENCES.
CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT BY: SITI NURBAYA ISMAIL FACULTY of COMPUTER and MATHEMATICAL SCIENCES.
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.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
IT204 – Web Scripting and Authoring I Forms and Image Maps Unit 4.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.
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.
Week 10: HTML Forms HNDIT11062 – Web Development.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
CSC317 – INTERNET PROGRAMMING CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT BY: SITI NURBAYA ISMAIL FACULTY of COMPUTER and MATHEMATICAL SCIENCES.
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. 2  This course introduces essential topics to the Internet Programming.  The design of interactive web pages with the elements of multimedia –hypertext,
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
Unit 4 Working with data. Form Element HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons,
FORMS Explained By: Jasdeep Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
Informatics Computer School CS114 Web Publishing HTML Lesson 4.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
Section 10.1 Define scripting
Chapter 5 Validating Form Data with JavaScript
BY: SITI NURBAYA ISMAIL FACULTY of COMPUTER and MATHEMATICAL SCIENCES
Validation and Building Small Apps
Web Development & Design Foundations with H T M L 5
Web Application Development CSC318.
CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT
Presentation transcript:

1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer & Mathematical Sciences, Universiti Teknologi MARA (UiTM), Kedah | A | | |

Hypertext Markup Language  Objects & Images: Adding image, applets, audio, video, animation & virtual reality on the Web  Frames  Marquee  Labels & Controls  Input Elements, Dropdown List, Text Area  Using Fieldsets 2 Upon completion of this chapter, you will learn:

Hypertext Markup Language Form Processing  Introduction to Form Processing  Adding HTML Input Fields  Passing a form as a parameter 3

Hypertext Markup Language Introduction to Form Processing  HTML form is used to capture user inputs, before sending the inputs to the database, or, display the outputs to user  HTML form may contains: –Text field –Dropdown list/combo box –Text area –Checkbox –Radio button –Button 4

Hypertext Markup Language Introduction to Form Processing  It (may|should) has: –Server-side scripting: ASP, PHP, CFM, JSP, etc –Client-side scripting: Javascript, AJAX, etc  Speaking about form processing, it has: 5

Hypertext Markup Language Introduction to Form Processing 6 password username submit Welcome Siti!

Hypertext Markup Language An example of form processing layout 7 Text field Radio button Button Dropdown list Checked box

Hypertext Markup Language Introduction to Form Processing How to create HTML form? 8

Hypertext Markup Language Introduction to Form Processing TagDescription name Defines unique name for the form method HTTP method for sending data to the action URL. The value either post or get action A URL that defines where to send the data when the submit button is clicked HTML form attributes Therefore, a complete HTML form look like this (please refer to the next slide) 9

Hypertext Markup Language Introduction to Form Processing 10

Hypertext Markup Language Adding HTML Input Fields Adding text field in HTML form 11

Hypertext Markup Language Adding HTML Input Fields Adding textarea in HTML form 12

Hypertext Markup Language Adding HTML Input Fields Adding dropdown list in HTML form 13

Hypertext Markup Language Adding HTML Input Fields Adding checkbox in HTML form (for multiple choices) 14

Hypertext Markup Language Adding HTML Input Fields Adding radio button in HTML form (single choice) 15

Hypertext Markup Language Adding HTML Input Fields An HTML form with common elements and buttons 16

Hypertext Markup Language Adding HTML Input Fields An HTML form with common elements and buttons –3 types of buttons submit to allow data in the form to be submitted into the database or to another page reset to clear all data in the form/to reset the form button user-defined action. Programmer writes a code to trigger specific action once the button is clicked 17

Hypertext Markup Language Parsing a form as parameter How to process inputs from HTML form?  Make sure you have created a complete HTML form (plus with input fields and a button)  We have two ways to process the inputs: –Client-side Scripting The best example is using JavaScript (which you will learn in the next lesson) JavaScript able to do input validation, display the outputs, process the inputs like doing calculation, and so on BUT, JavaScript cannot send the inputs to the database! –Server-side Scripting You will learn to process the inputs using Active Server Page (ASP) It is able to do what JavaScript can do It can send the inputs to the database! 18

Hypertext Markup Language Parsing a form as parameter How to process inputs from HTML form?  You need to complete JavaScript lesson first before you can start to code how to process the inputs  BUT, I suggest you to learn by yourself first, we have sample in the text book and on the Internet 19

Hypertext Markup Language Form Bibliography (Book) Knuckles (2001). Introduction to Interactive Programming on the Internet using HTML & Javascript. John Wiley & Sons, Inc. Bibliography (Websites)