Menu
Incorporating reCAPTCHA in NetSuite Forms

Incorporating reCAPTCHA in NetSuite Forms

Share:

Share on facebook
Share on twitter
Share on linkedin

NetSuite provides the ability to create online forms that can feed your leads, prospects, and other record types in your NetSuite system, but one of the biggest problems with online forms in today’s world is the use of bots. Bots can generate several unwanted records in NetSuite easily through your online forms.

So how do you get around that? You can do so by incorporating Google’s reCAPTCHA capability into your forms. In a nutshell, reCAPTCHA is a free service that presents the user a series of digital images that they can confirm which identifies them as a human versus a bot.

add captcha to netsuite

You can read more about what reCAPTCHA is here:  https://www.google.com/recaptcha/intro/

ReCAPTCHA can be implemented in NetSuite in three steps.

  1. Go to Google’s reCAPTCHA site and sign up for an API key pair for your NetSuite site. During this sign up process, you’ll be able to select the type of reCAPTCHA you’d like to use.  Google will provide a set of API keys – a site key and a secret key.
  2. In NetSuite, create an online form template. This form template will contain the NetSuite fields that you’d like to collect from the user.  It will also contain an IFRAME to present the Google reCAPTCHA and a small amount JavaScript to assist in rendering the reCAPTCHA in the NetSuite form.
    add captcha to netsuite
  3. Create NetSuite SuiteScript that will make a call out to the Google’s reCAPTCHA service. This call will contain the user’s input and your API keys.  Google will return a success or fail response.  The successful response will result in the information saved in NetSuite.  A failed response can present an error message to the user asking them to retry their reCAPTCHA.  This SuiteScript will be attached to the Save Record Function of the online form.
    add captcha to netsuite

To implement reCAPTCHA you must have experience with online forms and SuiteScript. If you would like to have reCAPTCHA implemented in your system or would like to learn more, please contact us at 877.279.1900 or info@sikich.com. You can also learn about more great tips for NetSuite on our YouTube playlist or our other blog posts.

SIGN-UP FOR INSIGHTS
Upcoming Events
Latest Insights

About The Author