AngularJS form validation with recaptcha

2,794 views
Skip to first unread message

Green Tree

unread,
Apr 6, 2015, 1:02:42 PM4/6/15
to ang...@googlegroups.com

I am using form validation with bootstrap form and would like to incorporate recaptcha in the form so that the form does not get submitted unless all fields are completed inclusive the recaptcha part



Sander Elias

unread,
Apr 7, 2015, 2:35:41 AM4/7/15
to ang...@googlegroups.com
Hi Green,

That is cool. 
Thanks for sharing.

Regards
Sander.

PS, if you have a question, that's ok too, just ask it ;)


Green Tree

unread,
Apr 7, 2015, 9:39:08 AM4/7/15
to ang...@googlegroups.com
would like to know how to incorporate recaptcha validation with AngularJS form validation. 

Gustavo Cruz

unread,
Apr 7, 2015, 10:45:56 AM4/7/15
to ang...@googlegroups.com
PS, if you have a question, that's ok too, just ask it ;)

LOOOOOOOOOOL!

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Sander Elias

unread,
Apr 7, 2015, 10:46:04 AM4/7/15
to ang...@googlegroups.com
Hi,

If you build a plunk with what you have already, I'm willing to take a look at it.

Regards
Sander

Green Tree

unread,
Apr 7, 2015, 1:50:13 PM4/7/15
to ang...@googlegroups.com

created a plunk but form validation is not working.... hmm?

http://plnkr.co/edit/gdGGv2cDiNdJYKvVLdZc

Sander Elias

unread,
Apr 8, 2015, 10:24:19 AM4/8/15
to ang...@googlegroups.com
Hi Green,

I wrote you a small directive that uses the new recaptcha api. it requires an ngModel, and fills that model with the response of the chapta. Also it sets the $error

You have to check the response on your server again to have an complete solution.

Regards
Sander

Green Tree

unread,
Jul 27, 2015, 5:13:08 PM7/27/15
to AngularJS, sande...@gmail.com
Hi Sander, sorry for late reply. got stuck with some other stuff. I  am not able to view the example provided

Sander Elias

unread,
Jul 27, 2015, 11:15:19 PM7/27/15
to AngularJS, jul...@linkedbridge.com
Hi Green,

Ok, something went sour with the link.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages