Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1

I need checkbox/radio in a different format and additional classes/types thangenerated by couch.

Couch produces:
Code: Select all
<label for="f_fenster_rahmen0">
    <input type="checkbox" name="f_fenster_rahmen[]" id="f_fenster_rahmen0" value="Kunststoff"> Kunststoff

Bu I need:
Code: Select all
<label class="checkbox padding-left">
    <input type="checkbox" name="f_fenster_rahmen[]" id="f_fenster_rahmen0">
    <i class="icon-checkbox"></i>
</label> Kunststoff

I know how to cycle through a list or a json with each and create these elements programmatically, but I don't have the defined opt_values at my hand.

Any idea how to get this?

Not sure how you plan to proceed but replying to the specific question you have -
doesn't the answer to a previous question of yours apply to this use-case as well?
Wow, that's great! It will definitively help. Thanks!
3 posts Page 1 of 1