Hi, I have a form with Google recaptcha which is being validated from client as well as server side without any issue. I am doing a AJAX post call to my api using jquery for validating captcha on server side and it returns response either success or fail. On failed response, I prevents the form to be submit and on success response, i allows form to go ahead and submit. Now the problem is, forms is getting reload, but not getting submit. I have mentioned my code below. I did a lot search and tried each and everything, but no success. Could anyone please help me out on this?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions01ForumsTop experts
Arun PottiAnswers in the forums20answers02
Tahir AnsariAnswers in the forums5answers03
Kamlesh KumarAnswers in the forums5answers04
Sam HobbsAnswers in the forums4answers05
Željko PerićAnswers in the forums3answersFull leaderboard →
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister

RahulRank #679 · 3.5K reputationPosted Oct 2, 2018, 12:28 AM EDT