Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 651 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 651 Bytes

Math-Captcha

This plugin adds a captcha box before the submit button in your form.

How to use:

/* Inicialização */
var mathCaptcha = new MathCaptcha({
  selector: '#form'
})

/* Default parameters */
MathCaptcha.defaults = {
  selector: '[name=form]',
  inputClass: 'form-control',
  inputName: 'captcha',
  placeholder: 'calc result',
  labelClass: 'calc',
  calcValueClass: 'calc__value',
  calcResultClass: 'calc__result',
  wrapperClass: 'math-captcha',
  submitSelectorClass: '[type=submit]'
}

Demonstração Demo

Made By fripixel.com.br