Support » Plugin: Google Captcha (reCAPTCHA) by BestWebSoft » captcha on custom form

  • yanay

    (@yanay)


    Hi
    I want to add captcha to a custom form only, which is hardcoded in its own php file. I Installed the plugin and tested my API keys.
    I tried adding
    if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ;
    like this:….

    			<input type="hidden" name="form_id" value="00000" />
    			<input type="hidden" name="encoding" value="" />
    if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ;
    		</form>
    		<?php	

    to my custom form’s PHP file but the code is just printed at the bottom of the form. Being low on PHP skills, could you provide more detailed instruction as to how and where exactly to add the code so the captcha will function on my custom form?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us.

    Please replace the code you have added earlier with the following one:

    <?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); }; ?>

    Sincerely,
    BestWebSoft Support Team

    thank you
    where do I edit this code? I can’t find it in any php file on my server using Search function

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘captcha on custom form’ is closed to new replies.