Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Captcha view helper include separator twice #3023

Closed
fernandomantoan opened this Issue · 0 comments

2 participants

@fernandomantoan

When using the Zend\Form\Element\Captcha and configuring a separator in the Zend\Form\View\Helper\Captcha\AbstractWord or any other view helper the separator defined is rendered two times, one after the captcha text and another one between the two input fields, something like:

Please type this word backwards
<b>awof767p</b>
<br>
<input type="hidden" value="6bf7f7965db0ef346af143b16e808871" name="captcha[id]">
<br>
<input type="text" name="captcha[input]">

I don't know if there is a case that this is needed, i think that the separator would be useful just to format the captcha output, as in my case that i wanted the text field to be just below the captcha text:

Please type this word backwards
<b>awof767p</b>
<input type="hidden" value="6bf7f7965db0ef346af143b16e808871" name="captcha[id]">
<br>
<input type="text" name="captcha[input]">

What do you think guys?

@ghost Unknown referenced this issue from a commit
@weierophinney weierophinney Merge branch 'hotfix/3025'
Close #3025
Fixes #3023
6c373fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.