list editor shows num value from pulldown

5 posts by 2 authors in: Forums > CMS Builder
Last Post: June 11, 2008   (RSS)

I am using a pulldown list field which pulls data from a table in my database. I have set the option values field to 'num' and the option labels field to 'name'.
I have chosen this field to display on the list editor page, but it defaults to showing the 'num' value instead of the 'label' value. Is there a way to change this?

thanks,
Peter

Re: [IronVictory] list editor shows num value from pulldown

By Dave - June 11, 2008

Hi Peter,

You could try storing "name" for both name and label. Let me know if that would work for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [IronVictory] list editor shows num value from pulldown

By Dave - June 11, 2008

Ahh, ok I see what you mean. That's a bug not a feature. :)

I've fixed that for the next version. If you're using the latest version (v1.17) backup and then replace the following file with the one attached:

/lib/menus/default/list.php

It will probably work with earlier versions as well. But backup first before testing.

Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com
Attachments:

list_002.php 11K

Re: [Dave] list editor shows num value from pulldown

Yep, that fixed it. Thanks.