Feathers UI
  • Docs
  • API
  • Showcase
  • Blog
  • Community

›Recent Posts

Recent Posts

  • Feathers UI v1.1 release for Haxe and OpenFL
  • What a journey! The conclusion of Feathers UI v1.0 Release Week
  • String Formatters 1.0 for Feathers UI
  • Form Validators 1.0 for Feathers UI
  • PureMVC demos for Feathers UI and OpenFL

Form Validators 1.0 for Feathers UI

September 15, 2022

Josh Tynjala

Josh Tynjala

Today, I'm happy to introduce version 1.0 of the new feathersui-validators open source project, which is a port of the form validation classes from Apache Flex (formerly Adobe Flex) to Feathers UI, Haxe and OpenFL.

This is the newest of multiple projects that I'll be releasing as part of the Feathers UI v1.0 release week celebration.

The following validator classes are included in the library:

  • CreditCardValidator verifies Visa, MasterCard, AMEX, Discover, and Diner's Card numbers.
  • CurrencyValidator validates the formatting of a numeric monetary value, including the currency symbol (such as $ or €) and appropriate precision for things like cents/pence.
  • DateValidator validates a date value, including month, day, and year, to ensure that all parts are in the correct ranges and the specified formatting order.
  • EmailValidator validates an email address.
  • NumberValidator validates a numeric value, including support for thousands separator, decimal separator, precision, and negative values.
  • PhoneNumberValidator validates 10 digit phone numbers, including formatting characters.
  • RegExpValidator is the most versitile, allowing the custom validation using regular expressions.
  • SocialSecurityValidator validates the formatting of a US social security number.
  • StringValidator ensures that a string meets minium and maximum length requirements.
  • ZipCodeValidator validates US and Canadian postal codes (and it can optionally allow both at the same time).

All validators have the option to make a value required, or to optionally allow an empty value.

Install Form Validators v1.0.0 for Feathers UI

Form Validators v1.0.0 may be installed using the haxelib install command in your terminal.

haxelib install feathersui-validators 1.0.0

Documentation

The v1.0.0 API Reference includes descriptions of all APIs available in Form Validators for Feathers UI.

Questions or comments?

If you need some help, or want to give feedback, feel free to create a thread in the Feathers UI Community forum.

Recent Posts
  • Install Form Validators v1.0.0 for Feathers UI
  • Documentation
  • Questions or comments?
Feathers UI
Feathers UI
  • Downloads
  • Showcase
  • Testimonials
  • Premium Support
Documentation
  • Getting Started
  • API Reference
  • Samples
    Github
  • Source Code
  • Issue Tracker
Community
  • Forum
  • Discord
  • Stack Overflow
News & Updates
  • Blog (RSS, Atom)
  • Twitter
  • Mastodon
Make a Donation
  • Join Github Sponsors
  • Donate with PayPal
  • Buy a T-Shirt
Copyright © 2023 Bowler Hat LLC — Illustrations by unDraw.