Predefined List Not Aligning Correctly

Predefined list:

Type

1  __Type 1

2  __Type 2

3  __Type 3

4  __Type 4

5  __Type 5

6  __Type 6

 

However, the values are not aligning with the LKey.

When I choose __Type4 in my drop down list, it stores the value 1 in the database.  On the display it is showing __Type 4.  Shouldn't it be storing 4 in the database to align with __Type 4?  These are imported Profiles so all the values are displayed incorrectly.

 

What is happening here and how can I correct it?

Geeks, making the world a better place
Quote · 3 Jan 2016

Dolphin Version 7.2.x

Geeks, making the world a better place
Quote · 4 Jan 2016

When I saw AlexT in the forums I was hoping he would reply to this.  Has anyone used custom predefined values in 7.2.1?  Wondering if this is a bug in the new version or something else is going on.

Geeks, making the world a better place
Quote · 4 Jan 2016

Hi geek. I have removed some of those predefined values but not added (yet). I have been delaying the modifications of those but I may work on this tonight to see if I get the same problem you're getting.

I'll let you know either way.

 

When I saw AlexT in the forums I was hoping he would reply to this.  Has anyone used custom predefined values in 7.2.1?  Wondering if this is a bug in the new version or something else is going on.

 

Quote · 4 Jan 2016

Is this normal behaviour of predefined lists, that the value is not associated with the position in the list?  If so, how can I correctly align the old values with the new predefined list?

Geeks, making the world a better place
Quote · 5 Jan 2016

I just checked with D 7.2.1 version, it seems to be working fine when i added/changed predefined value list. Played around with 'Sex' predefined list, here is how it generates Gender List box html on 'Edit Profile' page. Do you see the correct option values for your List box?

<select class="form_input_select bx-def-font-inputs" name="Sex[0]">
      <option value="3">Intersex</option>
      <option value="1">Man</option>
      <option value="2" selected="selected">Female</option>
</select>
Looking for Help? http://www.boonex.com/kevinmitnick
Quote · 7 Jan 2016

Mine stores the value that is set in the HTML form. The option text that displays may not be what you expect though, depending on how you created/edited the list. Did you add/edit language strings as well?

Quote · 21 Jan 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.