I have created my custom arithmetic captcha. I want add that captcha to my custom form through xml file without defining in phtml file on custom layout. For example:
Testimonail submit form: testimonial_form.phtml file contains
<form name="testimonial" action="testimonial/post/index" method="post"> <input type="text" name="name" /> <!-- I want captcha here through XML --!--> <input type="submit" value="submit" /> </form>
I want to add my custom captcha through xml before th submit button. How can i do that?
Any help would be appreciated.