Random Snippets

Random Snippets of Code for Web Developers

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About Me

Tag Archives: email form

Form verification via JavaScript

Posted on February 27, 2008 by Allen Liu
2


Are you looking for a simple way to verify a form that you have? The example below demonstrates some of the common techniques used in verifying a form. Test out the form by leaving at least one of the fields blank before you submit the form.

Demo
Username
Please fill in your username.

Email

Please fill in your email.


Continue reading →

Posted in javascript | Tagged demo, dynamic, email form, error warnings, form, form email, javascript, onSubmit, verification, verifyForm | 2 Replies

Recent Comments

  • Allen Liu on How to hide, show, or toggle your div with jQuery
  • Matthew Graves on How to hide, show, or toggle your div with jQuery
  • Allen Liu on How to hide, show, or toggle your div
  • Maddie on How to hide, show, or toggle your div
  • Tito on How to hide, show, or toggle your div with jQuery

Recent Posts

  • How to hide or show content based on links or urls via JavaScript/jQuery
  • How to dynamically remove elements from the DOM via jQuery
  • JavaScript Date Ranges/Calculations with Datejs
  • How to hide, show, or toggle your div with jQuery
  • Parsing XML data from hostip.info API service with PHP

Categories

  • javascript
  • mysql
  • php
  • WordPress Plugin

Pages

  • About Me
Proudly powered by WordPress