Module Builder with Dropdownlist choices

Posted by Community Admin on 04-Aug-2018 15:53

Module Builder with Dropdownlist choices

All Replies

Posted by Community Admin on 17-Apr-2012 00:00

Hi,

I'm working with Sitefinity 5 and created a custom module for job opportunities with a title, description, location and department. Both the location and department fields are Choices set to DropdownList. I've added all the departments (no comma's) and the locations (in a city, state fashion so they include comma's). When I go to enter in content, the departments are fine as they are single words, but the locations are messed up. Every city and state is now a seperate selectable option. E.g.: Seattle, WA becomes two selectable options Seattle and WA. Are choices simply comma seperated and can it be changed somewhere? It seems a simple city, state choice should be accomodated in Sitefinity.
Thanks,
Steven

Posted by Community Admin on 17-Apr-2012 00:00

That seems like a big honkin bug to me :/

You should be able to tweak the SQL in [sf_mb_dynamic_module_field].choices?

(keep in mind you'd need to recycle your app pool to see changes)

I wonder if you'd need to encode the comma

and before you do anything, BACK UP YOUR DATABASE :)

This thread is closed