Customize OOB form widget to send Captcha to Server side script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 04:33 PM - edited 04-10-2025 04:33 PM
Hi All,
I am customizing OOB form widget to include google captcha. In client controller, OOB uses $scope.submitting = true; which then send data to server. How can we include the google captcha response to the server so I can validate it?
Thanks!
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 01:31 AM
Hi,
You would need to do this in the 'triggerUIAction' function before g_form.submit is called. Call spUtil.get() to call your widget server script and verify the reCaptcha token, on response, you can then continue evaluating with submitting the form