More in this section

Forums / Developing with Sitefinity / Module Builder with Dropdownlist choices

Module Builder with Dropdownlist choices

2 posts, 0 answered
  1. Steven
    Steven avatar
    12 posts
    Registered:
    13 Jul 2012
    17 Apr 2012
    Link to this post
    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
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    17 Apr 2012
    Link to this post
    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 :)
2 posts, 0 answered