Author: escobersackos

Why Validation is So Important in Computer Science

5.) Multiple Device Accessing With the current invasion of smartphones and tablets, more people will be using the Internet from their mobile devices than desktop computers. By 2015, mobile finance reached over $119 billion all over the world and a few branches are experiencing an even higher amount of mobile traction so there is definitely […]

Download

There are various sizes and types of downloads available, so you can decide on ease of use versus time to load, take you to pick, and enjoy. Compressed… Compressed using YUI compressor – no comments or whitespace and partially munged, but preserved semicolons for extra safety. LiveValidation 1.3 – standalone version (12.5kb) LiveValidation 1.3 – prototype.js […]

Javascript validation has just become self-aware

Let’s face it, forms are boring, validation is a pain. It’s time to inject some life into them, make them fun again… Say “hello” to LiveValidation:  Now that we’re all friends, it’s time to acquaint everyone better… LiveValidation is a small open-source javascript library built for giving users real-time validation information as they fill out […]

The MIT License

LiveValidation is licensed under the terms of the MIT License Copyright (c) 2007 Alec Hill Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, […]

Documentation

This documentation is only concerned with the code you will actually need to know, all methods used internally are committed, but they are all documented in the source code. Contents Validate (class) Presence (static function) Format (static function) Numericality (static function) Length (static function) Inclusion (static function) Exclusion(static function) Acceptance (static function) Confirmation (static function) […]

Examples

Here you will see LiveValidation in action, and the code that makes it all happen, to serve as examples of its capabilities and as tutorials to get you started. IMPORTANT – As you probably already know, relying on client-side validation alone is a very bad idea. Always perform appropriate server-side validation as well. The purpose of […]