Closed DraugDev closed 8 years ago
I've got this one.
$this->form_validation->set_rules('g-recaptcha', 'Recaptcha', 'required' . $recaptcha = $this->input->post('g-recaptcha-response'));
Have a look at the example:
https://github.com/appleboy/CodeIgniter-reCAPTCHA/blob/master/example/controller/test.php
I would set up a custom callback function and add that to the validation rules.
Hay @Luckyfella73, thanks, ill try.
Hello, how to use your library with form_validation?
Thanks!