Hi
I need checkbox/radio in a different format and additional classes/types thangenerated by couch.
Couch produces:
Bu I need:
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?
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
</label>
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?