1. DMTGMBH
  2. Support
  3. Tuesday, April 06 2021, 05:43 PM
At the moment e.g. a checkbox list is displayed as a text line separated by commas. How can we remove the comma and add a linebreak or style the ouput as a list?
Accepted Answer
admin Accepted Answer
Admin
Hi,
unfortunately this is not possible, you should use same workaround at https://www.easy-profile.com/support/how-can-we-use-html-with-checkboxes-and-radio-buttons.html

For example, if you have a simple text options like movie,music,art then with language override you can transform its like this:
<div>Movie</div>
<div>Music</div>
<div>Art</div>


and with a CSS code you can style it, for example with a code like this:
dd.alias_of_fieldValue {font-size:0;} /* hide "," char */
dd.alias_of_fieldValue div{font-size:16px;} /* Set the size of the option */
dd.alias_of_fieldValue div:before{content:"- "} /* Add a simple "-" before option value */
NOTE: replace "alias_of_field" with the alias of the checkbox field

You can see the result in the screenshot (this code from interests field)
Attachments (1)
  1. more than a month ago
  2. Support
  3. # Permalink
DMTGMBH Accepted Answer
Pro
The html styling by language overrides and modifiying css is what we did, we thought there is a possibility to make templates overrides for partial elements...
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
no sorry, unfortunately this is not possible. We take this as feature request for future.
  1. more than a month ago
  2. Support
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.