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: [Dave] list editor shows num value from pulldown

Yeah that does work of course. But I want to pass the id of the category not the name.

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

Yep, that fixed it. Thanks.