Hi I have a form like this: http://pastebin.com/43tsymmK The form has a ViewScript decorator and a view script attached: http://pastebin.com/60cWcPnS There are several problems:
It always create two captcha images in the img folder. In the view script attached to the decorator: <?php echo $this->element->cap->renderCaptcha() ?> It only renders the image, no input text box and two images in the folder <?php echo $this->element->cap->renderCaptcha() ?> <?php echo $this->element->cap->renderCaptcha_Word() ?> It renders the image and the input box but I get three images in the img folder. I stripped the validation code but when I try to validate the input, the form always return a "badCaptcha" error. Controller: $this->view-form = new Application_Form_Login(); and in the login.phtml <?php echo $this->form; ?> Need some help with this. There are several forms with captcha and I was asked to provide a way to customize the design and the only way I found was the ViewScript decorator. Thanks in advance. Cheers holo
