Skip to content

maug/captcha-meteor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visualCaptcha for Meteor (new version)

A wrapper package to use visualCaptcha with Meteor

mrt add captcha

Create any form, and add

{{>captcha}}

anywhere inside it, then

'submit form': function (event) {
		event.preventDefault();
		VisualCaptcha.validateCaptcha(function(){
			//callback called only on success; if it fails captcha will display a message informing the user why validation has failed
			//do your form parsing, meteor calls, whatever you would normaly have done
		});
	}

Styling could use some redoing, anyone wants to pitch in?

Initial release. Will cleanup later.

This work is based on emotionLoop's initial work

About

A VisualCaptcha wrapper for meteor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.4%
  • CSS 14.6%