![Creating, Styling, and Validating Web Forms](https://static.webucator.com/media/public/images/products/courses/WFM101-1.jpg)
Creating, Styling, and Validating Web Forms (WFM101)
Web forms are a essential component of modern websites, enabling user interaction and data collection. Properly creating, styling, and validating web forms ensures a seamless user experience and accurate data submission. This course covers the comprehensive process of designing effective web forms using HTML, CSS, and JavaScript. Ideal for web developers, this course provides the skills needed to build professional and user-friendly forms.
This course includes detailed instruction on how to create forms with HTML, style them using CSS for a polished look, and validate user input with JavaScript to ensure data integrity. Through practical examples and hands-on exercises, participants will learn best practices for form design and implementation. By the end of the course, attendees will be able to create, style, and validate web forms that enhance user engagement and satisfaction.
- Learn to create HTML forms using the latest HTML standards.
- Learn to style forms with CSS.
- Learn to validate forms on the client with JavaScript and regular expressions.
- Learn to validate forms on the server with Node.js.
- Learn to use Ajax techniques to do server-side validation on specific form fields without refreshing the entire page.
Private classes are delivered for groups at your offices or a location of your choice.
Learn at your own pace with 24/7 access to an On-Demand course.
- HTML Forms
- 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
- pattern 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
- Checkboxes
- Radio Buttons
- Fieldsets
- Select Menus
- Option Groups
- Textareas
- JavaScript Form Validation
- Server-side Form Validation
- HTML Form Validation
- Accessing Form Data
- Form Validation with JavaScript
- 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
- Giving the User a Chance
- Styling Forms with CSS
- General Form Layout
- Form-field Pseudo-Classes
- Applying Pseudo-Classes to Forms
- Radio Buttons, Checkboxes, and Fieldsets
- Regular Expressions
- 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
- A Slightly More Complex Example
- Getting Started
- Node.js and Server-side Form Validation
- 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
- Processing a Simple Form
- Form Validation
- Validators
- Validation Chaining
- not()
- withMessage(message)
- Custom Validators
- Ajax
- XMLHttpRequest
- Asynchronous
- Welcome to the Server-side
- JSON
- Review of Object Literals
- Arrays
- Objects
- Arrays in Objects
- Objects in Arrays
- Back to JSON
- JSON Syntax
- The built-in JavaScript JSON Object
- Review of Object Literals
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this JavaScript class:
- Basic HTML
- Basic CSS
- Basic JavaScript
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors
Self-Paced Course
- On Demand 24/7
- Readings
- Presentations
- Exercises
- Quizzes
- Full Year of Access
- Learn more