kir*_*ran 3 forms validation magento
在提交表单之前添加多个步骤.喜欢:
注册页面:
第1步和第2步是单独的DIV(在下一次单击时显示/隐藏)
你可以试试这个JS片段:
var formToValidate = $('place the id of the form, that I want to validate');
var validator = new Validation(formToValidate);
if(validator.validate()) {
/* The logic, that you want to execute if you pass the validation. */
......
......
}
Run Code Online (Sandbox Code Playgroud)
祝好运!
| 归档时间: |
|
| 查看次数: |
4605 次 |
| 最近记录: |