0

How to fix multiple error printing in jQuery?

I am trying to validate user form in jQuery. The problem is that error message is appearing multiple times if I clicked submit button multiple times.

19th Feb 2020, 7:16 PM
Shree Ram Sharma
Shree Ram Sharma - avatar
2 odpowiedzi
+ 1
it's impossible to know where the issue is without seeing your code.
19th Feb 2020, 7:21 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
Whn you click the button, first you have to hide or clear the text of the elements that displays the errors then make the validation
19th Feb 2020, 9:12 PM
Gabriel Ilie
Gabriel Ilie - avatar