ActiveDen

Data Validation class

The key to a stable and secure application or website is data validation. Validating things like email addresses, numbers, and other data can be very time consuming and add a lot of extra lines of code to your website if you want to do it the right way. This class can make the data validation part of website development a lot easier.

This class is very easy to use. Because all the methods are static they are faster and callable without instantiating the class. This means that you only need to include the class file in your code and you can start validating data.

This class can be used in flash and flex applications.

Easy to use

Because the all the validation methods are static it’s very easy to use this class

Email validation
Validator.Email("www.test.com");
Email validation but don’t allow .be and .nl domains
Validator.Url("www.test.com", [".be", ".nl"]);
Input must be numeric and be bigger than 18 and smaller than 40
Validator.Number(textinput.text, 40, 18);

Features

  • Email
  • Url
  • IP
  • Phone numbers
  • Number (optitional use of min and/or max)
  • Unsigned number
  • Alpha
  • Alpha numeric
  • String length
  • Hexcolor
  • Date

You must sign in or sign up to purchase this item.

$7Regular Licence

$7

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

$35Extended Licence

$35

Extended Licence an app, paid game, or other software project, a website template for sale - Details

11 Purchases 9 Comments

Buyer Rating
Minimum of 3 votes required
for Rating
Sitebase

Sitebase

  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Envato Staff
  • Reviewer
  • Author had a Free File of the Month
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Belgium
  • Referred between 100 and 199 users
View Portfolio
Created 1 February 10
ActionScript Version AS3
Documentation Well Documented
Flash Files Included ActionScript AS
Opens With Flash CS3 (9+), Flash CS4 (10+)
Published Size 6kb
by
by
by
by
by