Question

As title says, how can i generate a form using zend form having input inside label? Something like

<label class="checkbox" for="persistent">
    <input type="checkbox" value="" id="persistent" data-toggle="checkbox">
    Remember Me
</label>

Thanks!

Était-ce utile?

La solution

You can likely add a decorator to your input field.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top