Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Customize OOB form widget to send Captcha to Server side script

pramodkumar
Tera Expert

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

Kieran Anson
Kilo Patron

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