How to add validation to my EditText. I have a mail sending form and if some field is empty I want to highlight EditText borders and notify user that the field is required.
Asked
Active
Viewed 752 times
0
-
SO is a Question and Answer forum. To get a good Answer, you should start by asking a good Question. What you've posted isn't actually a question, just a "I want". Please refer to "How to Ask" in the Help for suggestions on how to write a good Question. – Jason Aug 06 '16 at 19:24
-
http://stackoverflow.com/questions/2763022/android-how-can-i-validate-edittext-input – Rohit Vipin Mathews Aug 07 '16 at 07:31
-
Just check in your sendbutton press if the edittext has value or not. If not chanche the border color and focus the field. – user1230268 Aug 11 '16 at 07:30