Forms API - J.D. Gauchat

Forms API

By J.D. Gauchat

  • Release Date: 2018-01-01
  • Genre: Computers

Description

Learn how to use the Forms API to process forms on your website. After reading this guide, you will know how to send forms from your JavaScript code, how to validate forms, and how to modify a form in real time according to the values inserted by the user.

Table of Contents

FORMS API
Processing Forms
Validation
Custom Errors
The invalid Event
The ValidityState Object
Pseudo-Classes
Valid and Invalid
Optional and Required
In-range and Out-of-range

QUICK REFERENCE
Methods
Events
Validation

This guide assumes that you have a basic knowledge of HTML, CSS and JavaScript, and you know how to create files and upload them to a server. If you don't know how to program in HTML, CSS or JavaScript, you can download our guides Introduction to HTML, Introduction to CSS, and Introduction to JavaScript. For a complete course on web development, read our book HTML5 for Masterminds.

This guide is a collection of excerpts from the book HTML5 for Masterminds. The information included in this guide will help you understand a particular aspect of web development, but it will not teach you everything you need to know to develop a website or a web application. If you need a complete course on web development, read our book HTML5 for Masterminds. For more information, visit our website at www.formasterminds.com.