How to store Multiple values in one Metadata field in Sitefinity 3.7
Hi Team,
i have developed a Project using Sitefinity 3.7. i have added some extra field to Generic Content Module.
In that module i have added a ListBox control(for US State ) wholse SelectionMode="Multiple". i have added one meta field under
<cmsEngine defaultProvider="Generic_Content">
<metaFields>
<add key="Generic_Content.State" valueType="ShortText" visible="True" searchable="True" sortable="False" defaultValue=""/>
</metaFields>
</ cmsEngine defaultProvider="Generic_Content">
When i save the select multiple states from the listbox and click save it will saving the only one state not multiple selected states.
Please help me how to solve this problem.
Thanks in advance!
Hello,
It seems the list box is not passing the data correctly. If you have the javascript of the control make sure the values are passed as comma separated list for each entry in the dropdown. Currently it seems to pass the value as a variable that is not taking all fields or an array of the fields.
Greetings,