jQuery Validation Plugin + equalTo Not Working

后端 未结 5 1333
野的像风
野的像风 2020-11-30 13:36

Here is what I am currently using to attempt to validate a form. When I press submit with no values entered into the form, I get the error messages for each of the inputs a

5条回答
  •  醉话见心
    2020-11-30 14:16

    Before using "equalTo" we need to take care of following points:

    1. Use different word for input element name and id.

    2. Use input element id in "equalTo" match instead of input element name:

    
    
        
        
        
        
    
    
           

提交回复
热议问题