Closed aglose closed 7 years ago
If you don't want to create a pattern to filter key words, you can always use the SimpleFormDialog.InputValidator
with your own implementation.
Just let the fragment or activity were you show your dialog implement the Interface and the dialog will automatically detect it and use the callback for validation (in addition to any other validations).
Just added a section about Input Validation to the wiki
Wow man what a quick response! and you actually made changes, I'm impressed. Thank you very much!
You're welcome :)
I am trying to user this great library but I have one issue. When using the SimpleFormDialog I cannot add my own validation for a username. Matchers work for many things but I need to be able to check for bad words customers may put into their username. Any suggestions?