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!

Was it helpful?

Solution

You can likely add a decorator to your input field.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top