Hi,
I created a browser compatible form, showing 10 dropdowns. The values in the dropdowns come from secondary datasources (webservices). Everything displays well upon opening the form, and when saving the form, the correct values are stored in the database. The form submits to a webservice storing all values in a database.
However, when I reopen the form I see this behavior:
-
dropdowns containing items with a string for display and an integer as value, show the correct items and select the correct item
-
dropdowns containing items with a string for display and the same string as value, show the correct items and select the correct item
-
dropdowns containing items with a string for display and a different string as value, show the complete list of display strings, but add one item on top being the saved value (this item is selected)
For example:
Items in dropdown :
- display = Nederlands and value = nl
- display = English and value = en
- display = Français and value = fr
On a new form, the items in the dropdown are Nederlands, English and Français. I select for example English and the value "en" is stored in the database. When I reopen the form, these items are displayed in the dropdown:
- display = en and value = en (selected item)
- display = Nederlands and value = nl
- display = English and value = en
- display = Français and value = fr
Obviously, this is not really what I want to happen. :-)
Do any of you experienced the same behavior and know a fix for this ? Any help is greatly appreciated !
Regards,
Tom