jquery validate doesn't work with multiple forms

后端 未结 2 1847
有刺的猬
有刺的猬 2020-12-04 04:05

I have multiple forms in my web, you can show/hide them depeding on your query, but the jquery validate just work on the first one (Particular). Here I have my forms: https:

2条回答
  •  臣服心动
    2020-12-04 04:26

    You should use unique name attribute for each input field. Because the names here is not unique, it works only for first form.

提交回复
热议问题