CodeDistillery / angular-no-captcha

Angular.JS wrapper for Google's No CAPTCHA reCAPTCHA
http://codedistillery.github.io/angular-no-captcha/
MIT License
42 stars 21 forks source link

Added reset option #15

Closed richiepreece closed 9 years ago

richiepreece commented 9 years ago

I added the ability to reset the captcha manually. This is helpful if the form was submitted correctly, and captcha was validated (making the response now invalid) but the form was invalid, requiring a re-response of the form to the server. Since the captcha response cannot be resubmitted, a reset of the form is required.

clydetacoma commented 9 years ago

+1

dkarter commented 9 years ago

+1 can you add it to the example html/js files in the repo please?

vepasto commented 9 years ago

Why wouldn't you use control.reset?

Check: http://codedistillery.github.io/angular-no-captcha/

richiepreece commented 9 years ago

I guess I didn't quite understand how that worked. Thanks!