一个轻量的表单验证库。
LiveValidation is a lightweight library that equips you with set of validation functions.
为了防止提交错误数据,我们还要向该页面添加表单验证。
To prevent erroneous data from being submitted, we are going to add form validation to this page.
在设计CMS过程中,我们在表单验证上花费了大量的时间。
In the process of designing a CMS, we spent a lot of time perfecting form validation.
提供表单验证:输入验证是开发人员和用户都十分头痛的问题。
Provide form validation: Input validation is one of the biggest headaches for both developers and users.
表单验证展示了如何在现有J2EE应用程序开始使用Ajax。
Form validation is a simple example of how to begin to use Ajax within an existing J2EE application.
如果你以前曾经手工实现过表单验证,你会认为这三行代码很有价值。
If you've ever implemented forms authentication by hand, you'll appreciate these three lines of code.
你可以看到我选择了表单验证,而不是默认的Windows验证。
You see I've chosen forms authentication instead of the default: Windows authentication.
它提供了标准化的方式用于执行各种任务,如表单验证、计算和条件输出。
It provides a standardized way to perform tasks like form validation, calculations, and conditional output.
表单验证的测试也可以在单元测试中完成(清单19展示了表单验证的测试代码)。
Testing the form validation can also be done in the unit test (Listing 19 shows the form validation test code).
单击提交按钮时,将通过ApplicationUtil执行一个特定的表单验证。
When clicking the submit button, a specific form validation is performed through ApplicationUtil.
Zend_Form 能够完成复杂的验证并在表单验证失败时在表单中显示错误信息。
Zend_Form is capable of performing complex validation and displaying error messages on your form when validation fails.
在我教授ASP.NET表单验证的课程时,我听到很多人抱怨需要Cookie实现。
One of the biggest complaints I get when I teach ASP.NET forms authentication is that it requires cookies.
如果不用安全Sockets层(SSL)对表单验证进行保护,它的作用将不会很强。
Forms authentication isn't very strong if it's not protected by secure sockets layer (SSL).
若能正确处理,Ajax表单验证可极大地改进用户体验并能让代码变得更为有效、可维护性更好。
When done correctly, Ajax form validation can vastly improve your user experience and make your code more efficient and maintainable.
这些模板的一些常见用法(叫作rjs模板)为更新多个div、处理表单验证和管理Ajax错误场景。
Some common USES for these templates, called RJS templates, are updating more than one div, handling form validations, and managing Ajax error scenarios.
目前处于开发中的GWT项目有:以数据为中心的widget、可折叠的面板、日志、表单验证、声音以及图形。
Some of the GWT projects currently under development are: data-backed widgets, collapsible panels, logging, form validation, sounds and graphics.
这将为表单验证Cookie添加"Secure"属性,它意味着浏览器仅通过一个安全通道发送Cookie到服务器。
This adds the "Secure" attribute to the forms authentication cookie, which indicates that the browser should only send the cookie back to the server over a secure channel.
然而,当越来越多的网站使用ASP.NET表单验证时,也会有越来越多的攻击者尝试着发现弱点,所以遵守一些既定规则是明智的。
However, as more Web sites use ASP.NET forms authentication, more attackers will attempt to find weaknesses, so it's a good idea to follow some ground rules.
你需要为每一种运算设置单独的动作,或者说方法(每个框架的叫法不一样),而且还要用到框架中的表单验证功能(如果框架提供了这一功能的话)。
You should make each different arithmetic function its own action/method/whatevertheframeworkcallsit and you should use the frameworks input validation for the form values (if it has one).
无论您是需要验证表单输入,还是需要分解内容,使用正则表达式都非常有用。
Whether you need to validate form input or decompose content, regular expressions can do the trick.
本节将展示如何向Web表单添加验证。
当用户输入数据时,将对表单字段进行验证。
清单37包含上述表单的输入验证规则。
Listing 37 has the input validation rules for the above form.
实现一些正则表达式来适当地验证表单字段条目。
Implement some regular expressions to properly validate form field entries.
表单字段的默认验证。
很多业务应用程序都有基于业务规则验证表单字段的要求。
Many business-line applications have requirements to validate form fields based on business rules. Each business rule is unique, but the following are a few examples of business validation rules.
表单一般需要进行验证。
清单5为清单4中的表单提供了输入验证规则。
Listing 5 has the input validation rules for the form in Listing 4.
您可以用这个validate方法来验证您表单中的字段。
The validate method can be used to validate the fields in your form.
您可以用这个validate方法来验证您表单中的字段。
The validate method can be used to validate the fields in your form.
应用推荐