Open opaque01 opened 5 years ago
I want to implement the captcha function. Should I program this by a ViewHelper? Or is another way recommended?
I'm also interested in a captcha for registeraddress. Is there a way now?
I have written a first version of this enhancement with the captcha feature.
see my pull request:
Ok. But {afm:getCaptcha()} will result in namespace conflict. How can I resolve this.
I have added the namespaces now to the example FormFields.html file.
{namespace afm=AFM\Registeraddress\ViewHelpers}
{namespace od=OD\RegisteraddressCategories\ViewHelpers}
I have forgotten to add the CaptchaViewHelper class to the pull request. I have added it now.
The viewhelper-file must named GetCaptchaViewHelper.php The constant captcha has set to the name of the captcha extension. Not boolean. And it's better to show the form again, if the captcha is filled wrong.
Is there a way to add a captcha field into the registration form?
thanks opaque