UndefinedOffset / silverstripe-nocaptcha

A spam protector and form field using Google's reCAPTCHA v2 or optionally a foundation v3 implementation
BSD 3-Clause "New" or "Revised" License
31 stars 37 forks source link

Store widget_id on field element #25

Closed sheadawson closed 7 years ago

sheadawson commented 7 years ago

This allows the captcha element to be targeted via the js api in situations where there is more than one nocaptcha widget on the page. See examples referencing opt_widget_id here https://developers.google.com/recaptcha/docs/display#js_api

UndefinedOffset commented 7 years ago

Looks good thanks :)