I haver a SQL-driven drop-down list that calls a URN and a text value for each list item as follows:
select URN as QuestionOptionValue,CategoryName as QuestionOption from Categories where (Suppressed is null or Suppressed = 0)order by CategoryName
this should pull a list of 2 columns as below, and the test SQL display shows the text column only.
1 ListItem1
2 ListItem2
3 Listitem3
The text items column is visible in the drop-down, and the hidden number is saved to the form response on submission - all good so far.
The problem is that I have set a user profile field to populate the list default (DotnetNuke User Default) but this is not populating when the form is opened. The list always shows '-select one-'. even though the user source field is populated.
If I reverse the SQLfield mapping and get the URN as QuestionOption and the CategoryName as QuestionOptionValue, the list will prepopulate ok, But this shows the numbers in the drop-down - not the text and the response field is not populated.
Any clues as to how I can get this to work?
cheers