jquery validator - form still getting submitted even when invalid

后端 未结 1 807
长情又很酷
长情又很酷 2021-01-24 23:23

I have a few fields on a form with basic rules and the validator plugin does well when filling out the form itself. Submitting it, however, there is a problem because it still s

1条回答
  •  一生所求
    2021-01-25 00:05

    Change the id attribute to name and try

    
    

    Demo: Fiddle

    0 讨论(0)
提交回复
热议问题