cancel
Showing results for 
Search instead for 
Did you mean: 

possible to default the value displayed in a dropdown?

Former Member
0 Kudos

My form has several drop down list boxes which I prefill in WDA with values - specifically, Project Manager name.

When I go in to my form, I can select any one and Submit back to the backend. the data is saved appropriately.

When I go in Change Mode, I select the data from the backend to display in my form, but those names do not populate in my drop down fields.

I know this is possible, because there are a few other drop down boxes that do come back pre-filled.

The only difference between the dropdown boxes that do work and those that don't is that the ones that do work have static values defined in the form while the others have values populated dynamically from the web dynpro and passed in to the form.

any ideas?

thanks,

rp.

Edited by: robert phelan on Jun 9, 2009 3:48 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

EDIT.. I fixed this by passing the drop down VALUE to the form instead of the actual TEXT.

for instance, my manager's id was 12345 but I passed John Doe.

passing 12345 chose the correct TEXT to display.

Edited by: robert phelan on Jun 9, 2009 8:37 PM

Edited by: robert phelan on Jun 9, 2009 8:39 PM