COMS 359: Interactive Media

Similar documents
Dreamweaver: Web Forms

Deccansoft Software Services

Website Development with HTML5, CSS and Bootstrap

Web Site Design and Development Lecture 23. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Table Basics. The structure of an table

HTML and CSS COURSE SYLLABUS

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Guidelines for doing the short exercises

HTML5, CSS3, JQUERY SYLLABUS

Creating HTML files using Notepad

Web Designing Course

HTML 5 Tables and Forms

Table of contents. DMXzoneUniformManual DMXzone

How to lay out a web page with CSS

CSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below)

Outline. Introducing Form. Introducing Forms 2/21/2013 INTRODUCTION TO WEB DEVELOPMENT AND HTML

Adobe Dreamweaver CS6 Digital Classroom

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is

Exercise 1: Understand the CSS box model

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions:

COMS 359: Interactive Media

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

WEB DESIGNING COURSE SYLLABUS

UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT

Collecting Information with Forms

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1


Taking Fireworks Template and Applying it to Dreamweaver

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

Web Design and Development ACS Chapter 13. Using Forms 11/27/2018 1

Virto SharePoint Forms Designer for Office 365. Installation and User Guide

Student, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6

PHP,HTML5, CSS3, JQUERY SYLLABUS

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

Using Dreamweaver. 5 More Page Editing. Bulleted and Numbered Lists

Advanced Dreamweaver CS6

COMS 359: Interactive Media

HTML. HTML Evolution

Dear Candidate, Thank you, Adobe Education

Spring 2014 Interim. HTML forms

CST272 Getting Started Page 1

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists

Lesson 5 Introduction to Cascading Style Sheets

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

By Ryan Stevenson. Guidebook #2 HTML

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU

HTML Tags <A></A> <A HREF=" CNN </A> HREF

Lecture 10. CSS Properties. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Web Development. With PHP. Web Development With PHP

Create a three column layout using CSS, divs and floating

Web development using PHP & MySQL with HTML5, CSS, JavaScript

1 of 7 11/12/2009 9:29 AM

Dreamweaver CS3 Concepts and Techniques

Course title: WEB DESIGN AND PROGRAMMING

COMSC-031 Web Site Development- Part 2

JSN PageBuilder 3 Configuration Manual Introduction

ITSE 1401 Web Design Tools Lab Project 4 (Expression Web 4 - Units M, N, O, P) Last revised: 1/9/14

Ministry of Higher Education and Scientific Research

Getting Started with CSS Sculptor 3

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

Website Design (Weekday) By Alabian Solutions Ltd , 2016

HTML Forms. By Jaroslav Mohapl

Web Site Development with HTML/JavaScrip

Make Conversations With Customers More Profitable.

Web Engineering CSS. By Assistant Prof Malik M Ali

Virto SharePoint Forms Designer for Office 365. Installation and User Guide

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

the missing manual0 O'REILLY Third Edition David Sawyer McFarland Beijing Cambridge The book that should have been in the box Farnham

Meijer.com Style Guide

COMS 359: Interactive Media

ITEC447 Web Projects CHAPTER 9 FORMS 1

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

Introduction to WEB PROGRAMMING

Purpose of this doc. Most minimal. Start building your own portfolio page!

1 Form Basics CSC309

Website Design (Weekend) By Alabian Solutions Ltd , 2016

Course Outline Advanced Web Design

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

Chapter 1 True/False Instructions: Circle T if the statement is true or F if the statement is false.

PlayerLync Forms User Guide (MachForm)

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

Form Overview. Form Processing. The Form Element. CMPT 165: Form Basics

Table of contents. DMXzone Ajax Form Manual DMXzone

Blue Form Builder extension for Magento 2

Book IX. Developing Applications Rapidly

Static Webpage Development

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Unveiling the Basics of CSS and how it relates to the DataFlex Web Framework

Website Development (WEB) Lab Exercises

Website Designing Training

Getting Started with Eric Meyer's CSS Sculptor 1.0

Document Object Model. Overview

Transcription:

COMS 359: Interactive Media

Agenda Project #3 Review Forms (con t) CGI Validation Design Preview

Project #3 report Who is your client? What is the project? Project Three

<form> action= http://...cgi method= post / get enctype <input> type= text email url date name / value / placeholder size / maxlength type= reset submit type= checkbox / radio <textarea> </textarea> wrap= off physical virtual name / rows / cols <select> </select> name / size <option> </option> value / selected <input> type= submit / reset Review

<type= hidden > Hidden input field Allows designer to include form information that is not visible to the user Attributes name value

This hidden input field supplies information necessary to process the form.

CGI In order to have automatic processing of forms, you must have CGI script on the server Source of CGI Write your own in Perl, ASP or PHP Have a programmer write your CGI Use versions supplied by web host

Example of CGI PHP Scripting Language MySQL Data Base COMS 469 Interactive Media Production II

CGI What you need to know CGI is a way to process forms automatically Can write CGI script to return dynamically created pages or pre-selected pages Backend of e-commerce or web-based training; communicates information between the web site and databases on the server

CGI Use ITS provided CGI to process form data mailform.asp asp = Automatic Server Pages mailform.asp interprets form input and sends the results to your NIU email in-box Limitations Can only send results to NIU accounts z010102@students.niu.edu mailform.asp only passes the data to an email account; it does not process the data

Modify <form> Set the value of action to the URL of the ASP script and use the post method. Add hidden <input> Indicate the email address to which the results should be sent. You must use an NIU email account: gdeleuze@niu.edu z056789@students.niu.edu Exercise #9

Form Validation Validation Ensure users provide data; avoid empty form fields Form will not submit until required fields are completed HTML 5 Limited built-in validation Different browser support

Form Validation Features / Limitations Validates text input fields type= text - check that the field is not empty type= email - check for valid email address @ type= url - check for valid url http:// Validation for checkbox, radio, select, and <textarea> require Javascript; no native validation Validation only checks to see whether a form field is completed or is in the right format. Cannot evaluate whether the data is correct.

Potential Problem Users can enter numbers in the Name field. Since the numbers complete the text field, default validation does not have a problem with it. Solution 1) pattern attribute of the <input> tag 2) Regular Expressions define a pattern that can be used to check form input data pattern= [^0-9]+ No number characters pattern= [a-za-z]+ Any number of letters

Exercise #11

RegExLib.com

Form Design Introduction Form design is a special field There are standard design approaches Examples Paper-based forms Online forms

Form Design Submit button Final act in completing a form Locate it at the bottom of the form What platform do you use? Mac IBM Other Submit What platform do you use? Mac IBM Other Submit

Form Design Size Text Boxes Text boxes create expectations Long box leads user to believe s/he must fill the space Short box leads user to believe that the information must fit in the box provided Provide adequate sizes for the text; Use text box size to direct user how much information to enter in the box Name Age Sex

Form Design Consistency Be consistent with the placement of labels and headers. Users expect to see a pattern. Users often times read page position as an indicator of information Tell us about yourself Gender Height Tall Short Male Female Tell us about yourself Gender Height Male Tall Female Short

Form Design Group Fields On forms, organization of information is paramount Group related elements together Use negative space, headings, and colored panels to group items (created with CSS)

Form Design Appropriate Information Only ask for information that is necessary and appropriate for the site s application Avoid collecting extraneous information Could confuse or turn-off user Make processing of information more difficult Before designing the form, decide what is the minimum amount of information that is necessary to accomplish the form s objective.

Form Design Balancing Act Do not give the user unlimited choices Confusion Difficult to process Do not restrict user too much Do not cut off possibilities Anticipate user requirements and design for them

Form Design Bottom Line A well designed form can provide the designer with important user input and give the user a role in constructing information that is individual, responsive, and interactive A poorly designed form can overwhelm the designer with superfluous information and confuse and/or overwhelm the user

Form Design CSS Use CSS to organize and style forms

Form Design CSS <input> fields font-size Sets the size of the text entered by the user color Sets the color of the text entered by the user border-radius Rounds the corners of the CSS box; limited browser support background-color Sets the background color of the input field :focus & :hover Pseudo classes used to change the background color when it is used or when the user hovers over it

Form Design CSS Submit & Reset buttons color Sets the color of the text on the button text-shadow Adds a drop shadow to the text on the button background-color Sets the background color of the botton :hover Pseudo classes used to change the appearance of the button when the user hovers over it

<link> Add a <link> tag to the html Specify path to CSS stylesheet Exercise #12 id attribute Add an id attribute to both the submit and reset buttons

Exercise #12

Form Design CSS Grouping form elements <fieldset> helps group common form elements together <legend> is used to indicate the title or name of a <fieldset> <div> divider; used with a class or id it can be used to group form elements Useful CSS Properties for these HTML tags width, color, background-color, border, padding

Form Design CSS

<fieldset> & <legend> Add a <fieldset> container tag after the <form> tag. Add a <legend> tag after the opening <fieldset> tag. Exercise #13

<div> Use a <div> container tag to surround the Special Skills checkboxes. Include a class attribute and set its value to skills. Exercise #13

Exercise #13

Formatting with <table>

Put all form elements inside a <table> container

Each form field will be a new <tr> with at least one <th> or <td> inside the <tr> container

Use CSS selectors to target and style elements of the table

Use CSS selectors to target and style elements of the table

Use CSS selectors to target and style elements of the table

Practice Exercise 1) HTML Document <form> use mailform.asp to email results Include placeholder attribute for text fields Validate text fields by using require Use pattern with regular expressions for date of birth, zip code, and phone 2) CSS Document Use External CSS to style the HTML Define several classes and apply class style by using either <div> or <table> Use panels to group similar data entry fields

Practice Exercise

Preview Styling Page Content with CSS Duckett ch. 11: Color (pp. 246-262) Duckett ch. 16: Images (pp. 406-426) Duckett - ch. 12: Text (pp. 264-298)