I am trying to check data before posting but on button click the post is running no matter the result of the function. I have
button
and jquery
So, no matter if c1, c2 and c3 are all "NU", or all "DA" or r1, r2, r3 are empty, OnClick="Adauga_Raspunsuri" is run. And I can't find why

Marius VasilePosted Aug 14, 2023, 5:18 PM
so, the values for c1, c2, c3 and r1, r2, r3 have to be pulled from textboxes withthin the function and it works
Marius VasilePosted Aug 14, 2023, 4:57 PM
It seems that function CheckData() is not working. I shall explore more on this. Any ideas?