如何在mvc中进行简单的表单验证 [英] how to do simple form validation in mvc

查看:68
本文介绍了如何在mvc中进行简单的表单验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里的验证应该在jquery part ..在这个表单验证中它不应该允许文本框中的空格,并且它不应该允许名称文本框中的数字,电子邮件和密码以及日期验证应该在那里。

here the validation should be in jquery part..in this form validation it should not allow the empty spaces in the text box,and it should not allow numbers in the name text box,email and password and date validate should be there.

推荐答案

浏览以下链接





Stackoverflow



Stackoverflow



点击此处


这篇关于如何在mvc中进行简单的表单验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆