question

Mikello-6626 avatar image
0 Votes"
Mikello-6626 asked AmosWu-MSFT commented

reCaptcha in Newform.aspx

I am looking to see if recaptcha could be implemented with newform.aspx? Ex. make captcha response required and only then allow submission of list item?
https://www.enjoysharepoint.com/google-recaptcha-sharepoint/

office-sharepoint-server-developmentoffice-sharepoint-server-customization
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered AmosWu-MSFT commented

You could take a reference to the PreSaveAction function.
Use Of PreSaveAction Function on List Forms
Only if PreSaveAction returns true, the created item will be successfully saved. You can use the captcha response result as the return value of PreSaveAction, if the return value of the captcha response is the boolean type.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Mikello-6626 ,
I am checking to see how things are going there on this issue. Please let us know if you would like further assistance.
You can accept the helpful post as the answer to help other community members find helpful information quickly.
You can also share your own solution here and accept it as the answer, and we can learn from each other.

0 Votes 0 ·

Hi @Mikello-6626 ,
Do you have any update on this issue?

0 Votes 0 ·
sadomovalex avatar image
0 Votes"
sadomovalex answered

here is another example which uses PreSaveAction for disabling Save button when some checkboxes are not checked: Sharepoint 2013 newform.aspx trying to disable save button until multiple check boxes are ticked. In your example instead of checkboxes recapcha will be used but idea will remain the same.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.