Hi,
I looked up informations in FAQ and forum about the field Selected Value in drop down field but I found nothing solving (one of) my problem(s).
If I set a selected value (with php or custom form), I never get the right key/value expected.
To make tests, I tried with a simple dropdown. Originally, options are fed by a read_data key/value but I did it manually for this example below.

By this way, I thought the dropdown would display le label "21", 22 being the key, or would display 22 like I wrote in the field (and the value key 23).
But this is the result :

I've changed the multi select dropdown option to YES and I don't understand the result :

I only put one value in the selected value list and there is three selected.
Any idea of what I did wrong ?
Thanks
I looked up informations in FAQ and forum about the field Selected Value in drop down field but I found nothing solving (one of) my problem(s).
If I set a selected value (with php or custom form), I never get the right key/value expected.
To make tests, I tried with a simple dropdown. Originally, options are fed by a read_data key/value but I did it manually for this example below.
By this way, I thought the dropdown would display le label "21", 22 being the key, or would display 22 like I wrote in the field (and the value key 23).
But this is the result :
I've changed the multi select dropdown option to YES and I don't understand the result :
I only put one value in the selected value list and there is three selected.
Any idea of what I did wrong ?
Thanks