I am not sure if anyone else ran into this issue. I needed to render 10 checkboxes on a form so I chose to use activeCheckboxlist in order to accomplish. It worked perfectly but the problem is when it renders it doesn’t give me any option on how to modify the rendering. I would like to render the checkbox like this (x is the checkbox)
X x
X x
X x
X x
X x
but unfortunately it is rendered as follows:
x
x
x
x
x
x
x
x
x
x
x
Does anyone have any clue on how to modify how the checkboxlist sends results?
Thanks for your response. I used the template parameter but it would output the checkboxes incorrectly. Any other suggestions? I used ‘template’=>’<tr><td><{input} {label}</td><td>{input} {label}</td></tr>’
but this outputs the checkboxes incorrectly. It outputs the same id twice. I want them to be separate ids.
If you are using the default forms css, it sets the display of labels to block which would explain why the checkbox and the label are rendered on different lines.
Yes, it’s not a problem, because I put them in the table and problem solves(IN VIEW) but I use separate activeCheckBox here and need to verify that one of those seven checkbox’es should be market. Maybe I could solve this with before save?