adding captcha to custom form
-
Hello
Thanks for that great plugin that i use in many websites.
I would like to integrate the captcha of this plugin into my custom form.
Here is how i create a new form in my plugin using shortcode. The process and validation is done by js/ajax.
How can i add the do do_action( ‘anr_captcha_form_field’ ); or [anr_captcha] in that form?
thanksadd_shortcode( ‘rorycontact’, ‘rorycontact_function’);
public function rorycontact_function() {
$formrory=”<form class=’formrorycontact’ id=’formrorycontact’>”;
$formrory.=”<label for=’roryname’>Your name </label>”;
$formrory.= ‘<input type=”text” class=”roryparam” value=”” />’;
$formrory.= “<input type=’submit’ id=’submit’ value=’Submit’>”;
$formrory.=”<form>”;
return $formrory;
}
- The topic ‘adding captcha to custom form’ is closed to new replies.