Skip to content

有没有校验表单是否通过的方法? #10

@hasbug

Description

@hasbug

大体需求是这样,我在提交表单的时候想通过一个方法去查询表单是否通过验证,然后ajax进行提交(不一定是触发form的submit的方式)。
类似:
`var formValid=$('form').mvalidate({
type:1,
validateInSubmit:true
})

if(formValid.valid()){ //布尔值
//通过
}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions