Hello again,
I'm trying to customize the opt_values for a template so when displayed, show an image rather than text. Is it possible to embed html in the opt_values?
This is how I've implemented it. The options show up in the admin panel, but when I try to save it reverts back to being unchecked.
Thanks,
Sam
I'm trying to customize the opt_values for a template so when displayed, show an image rather than text. Is it possible to embed html in the opt_values?
- Code: Select all
<cms:editable name="checkboxes" label="Checkbox" desc="Check all applicable" opt_values="Option1=<img src='option1.jpg'> | Option2=<img src='option2.png'>" type='checkbox' />
This is how I've implemented it. The options show up in the admin panel, but when I try to save it reverts back to being unchecked.
Thanks,
Sam