Using Cakephp 2.2.4 and the Recaptcha plugin 1.1 from CakeDC on a form. The page is SSL/HTTPS. When I submit form with correct recaptcha text entered the form resets and no messages.
have checked $this->request->data in the appropriate method in controller and no post is received by it.
Anyone come across this problem or have a solution ?
Thanks.
Extract from Controller code:
if ($this->request->is('post')) { if ($this->Recaptcha->verify()) {Extract from View:
echo $this->BootstrapForm->input('message', array( 'type' => 'textarea', 'required' => 'required', 'helpInline' => '<span class="label label-important">' . __('Required') . '</span> ') ); ?> <?php echo $this->Recaptcha->display(array('recaptchaOptions'=>array('theme' => 'clean'))); ?> <?php echo $this->BootstrapForm->submit(__('Submit'),array('class' => 'btn btn-primary'));?> </fieldset> <?php echo $this->BootstrapForm->end();?>Have made no changes to model for recaptcha.
CakeDC plugin I am using is this one:
https://github.com/CakeDC/recaptcha
Thank you.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment