Android的 - java的表单验证 [英] android - java form validation
本文介绍了Android的 - java的表单验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望有人能指出我在正确的方向。我正在寻找能告诉我如何验证表单(联系方式)类似于JavaScript验证在用户输入的资源。我已经找遍了网络和不能似乎发现了什么。
I was hoping someone could point me in the right direction. I'm looking for a resource that can show me how to validate user input within forms(contact forms) similar to JavaScript validation. I have searched all over the web and cant seem to find anything.
感谢大家。
推荐答案
使用常规的前pression,这里是一个很好的教程:的验证
Use regular expression, here is an excellent tutorial : Validation
这篇关于Android的 - java的表单验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文