reCaptcha in Newform.aspx

Mikello 81 Reputation points

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?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,297 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,596 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points

    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. sadomovalex 3,631 Reputation points

    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.

    0 comments No comments