This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
reCaptcha formatting
Started 13 years ago by fmolstad | 2 posts |
-
If I wanted my reCaptcha to use a different "theme" other than the defaiult "blackglass", I could use the method described here;
http://www.appnitro.com/forums/topic/captcha?replies=2#post-297But that only applies to one form number.
How would I code that to apply to all my forms?Would I do that in the css maybe?
Thanks
ForrestPosted 13 years ago # -
You need to edit "view-functions.php" file for this. Edit the file and go to around line 1508 ~ 1510 for these code :
if(function_exists("form{$element->form_id}_hook_pre_captcha")){ $custom_precaptcha = call_user_func("form{$element->form_id}_hook_pre_captcha"); }
then put this code bellow those line :
$custom_precaptcha = "<script>var RecaptchaOptions = { theme : 'blackglass'};</script>";
that would do it
MachForm Support
Posted 13 years ago #
Reply
You must log in to post.