All Projects β†’ alexfu β†’ form-validator

alexfu / form-validator

Licence: MIT License
A simple, easy to use, no frills, form validator for Android

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to form-validator

autoform
πŸ€–πŸ“ AutoForm is the simplest way to automatically generate fast, beautiful and standards/WCAG compliant HTML forms based on an Ecto Schema in a Phoenix Web Application to *significantly* speed up Web App Development. πŸš€
Stars: ✭ 18 (-35.71%)
Mutual labels:  form-validation
nglp-angular-material-landing-page
NGLP is an Angular Material Landing Page.
Stars: ✭ 32 (+14.29%)
Mutual labels:  form-validation
core
πŸ”₯ Antares Core Implemenation. Most important project layer, this is the heart for your app. ACL, notifiter, console, geoip, areas, utils and many more...
Stars: ✭ 24 (-14.29%)
Mutual labels:  form-validation
react-declarative
A React form builder which interacts with a JSON endpoint to generate nested 12-column grids with input fields and automatic state management in a declarative style. Endpoint is typed by TypeScript guards (IntelliSense available). This tool is based on material-ui components, so your application will look beautiful on any device...
Stars: ✭ 17 (-39.29%)
Mutual labels:  form-validation
Formulary
Declarative iOS TableView Forms in Swift (pre-SwiftUI)
Stars: ✭ 83 (+196.43%)
Mutual labels:  form-validation
formio
Formio, form definition and binding library for Java platform
Stars: ✭ 24 (-14.29%)
Mutual labels:  form-validation
valida
jQuery Plugin for client side easy form validations.
Stars: ✭ 17 (-39.29%)
Mutual labels:  form-validation
pwdcalc
Take no risk and help your users to choose good passwords!
Stars: ✭ 11 (-60.71%)
Mutual labels:  form-validation
smart-schema
A Laravel package to enable auto generation of forms
Stars: ✭ 18 (-35.71%)
Mutual labels:  form-validation
devonfw4flutter-mts-app
Large-Scale Flutter Reference Application. An Extension of DevonFw's My Thai Star Project
Stars: ✭ 54 (+92.86%)
Mutual labels:  form-validation
jquery.niceform
The jQuery plugin for validation and post form data to server
Stars: ✭ 16 (-42.86%)
Mutual labels:  form-validation
pyvaru
Rule based data validation library for python 3.
Stars: ✭ 17 (-39.29%)
Mutual labels:  form-validation
form-validator-cljs
ClojureScript library to validate forms
Stars: ✭ 52 (+85.71%)
Mutual labels:  form-validation
cp
A configurable template reuse solution for platform ui development .https://json-drived-configurable-platform.github.io/cp
Stars: ✭ 17 (-39.29%)
Mutual labels:  form-validation
validate
An extension to the popular library validate.js that adds some useful custom validations out of the box. Also, a hub for all custom validations, that we have created, so you can easily add them to your own project.
Stars: ✭ 31 (+10.71%)
Mutual labels:  form-validation
flexcss
A simple css pattern-library using flexbox, build for hellofellow
Stars: ✭ 85 (+203.57%)
Mutual labels:  form-validation
formalizer
React hooks based form validation made for humans.
Stars: ✭ 12 (-57.14%)
Mutual labels:  form-validation
dropzone-ui-react
The most complete React Library Component for drag’n’drop files. Image and video previews. File validation. Multilanguage. Server side support.
Stars: ✭ 122 (+335.71%)
Mutual labels:  form-validation
svelte-form
JSON Schema form for Svelte v3
Stars: ✭ 47 (+67.86%)
Mutual labels:  form-validation
CustomFormViews
A clean collection of views used for forms.
Stars: ✭ 12 (-57.14%)
Mutual labels:  form-validation

form-validator

A simple, easy to use, no frills, form validator for Android.

Usage

EmailRule emailRule = new EmailRule("Invalid email address.");

Validator validator = new Validator();
validate.setCallback(this);
validator.addRule(myEditText, emailRule); // Add rules to your EditText
validator.validate();

If you want to have multiple rules...

EmailRule emailRule = new EmailRule("Invalid email address.");
MinLengthRule minLengthRule = new MinLengthRule(5, "Must be at least 5 characters long.")

Validator validator = new Validator();
validate.setCallback(this);
validator.addRule(myEditText, emailRule, minLengthRule); // Add rules to your EditText
validator.validate();

Adding rules will also bind a TextWatcher to the given EditText and validate it on the fly.

Installation

allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}

dependencies {
  compile 'com.github.alexfu:form-validator:2.0'
}

Rx

Fancy an Rx API? Take a look at form-validator-rx.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].