title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
Creating, Styling, and Validating Web Forms
Course Description
Overview
This course is all about creating and processing web forms. It starts with using the latest HTML standards to create and provide basic validation for an HTML form. It then covers styling forms using CSS including the validation status of form fields. You will then learn to write clean, real-time client-side form validations with JavaScript and regular expressions. Finally, you'll learn to validate forms on the server with Node.js, JSON, and Ajax. This title is not available in hard copy.Objectives
Audience
Prerequisites
-
Experience in the basics of HTML, CSS and JavaScript.
Topics
- How HTML Forms Work
- The <form> Tag
- Get vs. Post
- Form Elements
- id and name Attributes
- Text Fields
- Labels
- Text-like Input Types
- placeholder Attribute
- Password Fields
- Date and Time Fields
- Number Fields
- Color Fields
- Tel, URL, and Email Fields
- tel
- url and email
- Search Fields
- Hidden Fields
- Buttons
- Submit Button
- Reset Button
- Button Buttons
- Exercise 1: Creating a Registration Form
- Checkboxes
- Radio Buttons
- Exercise 2: Adding Checkboxes and Radio Buttons
- Fieldsets
- Select Menus
- Option Groups
- Textareas
- Exercise 3: Adding a Select Menu and a Textarea
- Server-side Form Validation
- HTML Form Validation
- Accessing Form Data
- Form Validation with JavaScript
- Exercise 4: Checking the Validity of the Email and URL Fields
- Checking Validity on Input and Submit Events
- Adding Error Messages
- The dataset Property
- Validating Textareas
- Validating Checkboxes
- Validating Radio Buttons
- Which Radio Button was Selected?
- Validating Select Menus
- Exercise 5: Validating the Ice Cream Order Form
- Giving the User a Chance
- General Form Layout
- Form-field Pseudo-Classes
- Applying Pseudo-Classes to Forms
- Radio Buttons, Checkboxes, and Fieldsets
- Exercise 6: Styling Forms
- Getting Started
- JavaScript's Regular Expression test() Method
- Regular Expression Syntax
- Start and End (^$)
- Number of Occurrences (? + *{})
- Common Characters (. \d \D \w \W \s \S)
- Grouping ([])
- Negation (^)
- Subpatterns ( () )
- Alternatives (|)
- Escape Character (\)
- Case-Insensitive Matches
- Backreferences
- Form Validation with Regular Expressions
- Cleaning Up Form Entries
- Exercise 7: Cleaning Up Form Entries
- A Slightly More Complex Example
- Welcome to the Server-side
- What is a web server?
- Dynamic Websites
- Google Chrome DevTools: Network Tab
- Status Codes
- Welcome to Node.js
- Installing Node.js
- package.json
- Our First App
- what does npm start do?
- Our First Web App
- Stopping the Server
- Fat-arrow Functions
- Sending a Response with HTML
- The favicon.ico Icon
- Simple Routing and 404 Pages
- Delivering favicon.ico
- Express - Node.js Web Application Framework
- app.js
- Favicon Middleware
- Static Files
- Exercise 8: Responding from the Root
- Processing a Simple Form
- Form Validation
- Validators
- Validation Chaining
- not()
- withMessage(message)
- Custom Validators
- Exercise 9: Form Validation
- Ajax
- XMLHttpRequest
- Asynchronous
- Exercise 10: Form Validation with Ajax
- JSON
- Review of Object Literals
- Arrays
- Objects
- Arrays in Objects
- Objects in Arrays
- Back to JSON
- JSON Syntax
- The built-in JavaScript JSON Object
- Exercise 11: Using JSON
Related Courses
-
HTML, XHTML, and CSS
WDHT-200- Duration: 3 Days
- Delivery Format: Classroom Training, Online Training
- Price: 1,755.00 USD
-
New Features of HTML5 and CSS3
WDHT-205- Duration: 2 Days
- Delivery Format: Classroom Training, Online Training
- Price: 1,170.00 USD
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Exam Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.
![self-paced](fynwyd/images/course-outline-self-paced-35x35.png)
STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration
Purchase Information
title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.