Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > CheckBox List Format in BizForm/User.cms View modes: 
User avatar
Member
Member
martinagency - 4/14/2011 10:33:39 PM
   
CheckBox List Format in BizForm/User.cms
We are building an intranet and we added a field with a list of items displayed as a CheckBox List. We got this working just fine and the user can check the boxes in their profile, but when we display the data in the field the list of items are displayed in a way that are not easily readable. Below is how the CMS displays the data. How can we modify the way the data is displayed? We would like to display the info as <item1>, <item2>

CMS
<span id="plc_lt_zoneProfile_UserPublicProfile_formElem_ctl00_ExperienceCategories" class="LabelField">financial services|retail</span>

Desired
<span id="plc_lt_zoneProfile_UserPublicProfile_formElem_ctl00_ExperienceCategories" class="LabelField">financial services, retail</span>

User avatar
Member
Member
kentico_michal - 4/15/2011 1:46:41 PM
   
RE:CheckBox List Format in BizForm/User.cms
Hi,

I would recommend developing a custom form control and using it instead of the checkbox list. However the custom form control could be based on a standard .NET asp:CheckBoxList control. In the code of the custom form control you can save the selected values according to your needs and separate values with a comma instead of a pipe.

Best regards,
Michal Legen