Author Topic: Standard Form doesn't affect with recaptha  (Read 974 times)

0 Members and 1 Guest are viewing this topic.

Offline Vovsen

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Standard Form doesn't affect with recaptha
« on: March 21, 2010, 09:41:06 AM »
I'm setting up a contact form and my template doesn't have a contact form, so it's the standard which is used (i presume). I have tried with both {captcha} and the
<?php global $mainframe; $mainframe->triggerEvent('onCaptchaDisplay'); ?>
after line 63 in the form itogav.dk/components/com_contact/views/contact/tmpl/default_form.php
but I can press the send button and the form is send even though I have typed nothing in the Captcha line. what is wrong? Captcha is enabled and inclusion Syntax is set to yes.

Best regards
Villy
Best regards
Villy

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: Standard Form doesn't affect with recaptha
« Reply #1 on: March 21, 2010, 10:25:40 PM »
Have you either enabled Auto Verify option in the plugin parameter or implemented manual captcha verify in your component using following code:

Code: [Select]
<?php
global $mainframe;
$mainframe->triggerEvent('onCaptchaConfirm');
?>


Offline Vovsen

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Standard Form doesn't affect with recaptha
« Reply #2 on: March 22, 2010, 09:56:13 AM »
Yes, first I try to turn on auto verify and use {captcha} and it only show the captcha, not act on it.
Then I tried  the code <?php global $mainframe; $mainframe->triggerEvent('onCaptchaDisplay'); ?> with the same result. I can see that you have write 'onCaptchaConfirm' while I have wrote 'onCaptchaDisplay'. I will try to see if it helps to change the word.
PS. How do You made the captcha verification on your Forum page?
Best regards
Villy

 

This is not an official Joomla! Site. The use of the words Joomla is intended to describe what the products are designed for and should not be considered an endorsement by the related Projects.