Blog comments Captcha Refreshes Page to Validate It

Dcode warner asked on October 10, 2017 18:39

I have the bult in captcha enatable for blog comments. However, I tried testing to see if it would submit with the captcha field empty.

When I hit the submit button it refreshes the page. It does validate the form and I see the "Please enter a valid security code" message

My question is, why does the page refreshes after submit if the captcha field empty? With the other FIELDS, it's displays the validation message.

Recent Answers


Matt Nield answered on October 11, 2017 10:46

I would check the following:

  • Make sure that the Catcha is marked as a required field. This will simply check that something (anything) has been entered. The captcha validation itself is sever side, so it need to do a submit.
  • In the On-line form web part, check Ajax > Use update panel. The prevents the whole page from reloading, focusing instead on the form.
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.