Comments (5)
You want to allow everything but some words?
from android-edittext-validator.
Correct.
On Nov 19, 2014 2:39 AM, "Andrea Baccega" [email protected] wrote:
You want to allow everything but some words?
—
Reply to this email directly or view it on GitHub
#31 (comment)
.
from android-edittext-validator.
What about using something like
FormEditText myEditText = (FormEditText) findViewById(R.id.my_edittext);
Validator validator = new NotValidator("You cannot use these words", new RegexpValidator(null, "(banana|apple)"));
myEditText.addValidator(validator);
This will pass for everything not containing the words banana or apple :)
from android-edittext-validator.
thanks for the example, will try. ill tell you how it goes.
from android-edittext-validator.
it worked. thank you! personal tutorials on ones code is so priceless in implementation and understanding! thank you once again!
from android-edittext-validator.
Related Issues (20)
- min number of characters? HOT 3
- nocheck HOT 1
- How to use it in eclipse HOT 1
- password and confirm password match validation HOT 4
- show error icon on left HOT 1
- two column of one has filled validation HOT 4
- Specific pattern of check HOT 1
- Special Char HOT 3
- Error inflating class com.andreabaccega.widget.FormEditText
- NumericRangeValidator only supports integer values HOT 2
- error string internationalisation HOT 5
- Error string/exclamation mark not showing on validation fail HOT 9
- How to add formedittext property programmatically HOT 1
- floatNumericRange -> float ranges HOT 1
- api target 25 - not working at all for testTypes HOT 1
- set optional field HOT 1
- using with AutoCompleteTextView HOT 1
- Create ValidatingEditTextPreference for android.support.v7.preference.EditTextPreference HOT 1
- ClassCastException HOT 1
- Failed to resolve: com.andreabaccega:android-edittext-validator:1.3.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-edittext-validator.