Selected Index is not working
There is a drop down list which get its items from the get from element items from features. Aim to set a default value by settting the Selected Index. However, no item would be selected.
And tried to use the set form element property by setting the index/value. still not working
But if the items from get form elemnt items from collection, then above seems be good
any thing wrong?thanks
-
Hi Minbin,
Thanks for your post. I think your best option would be to use the Set Current Form Element Item activity to choose the index of the default item to select.
Stefan
0 -
Thanks Stefan,
It works. I got the wrong activity.
Kind Regards,
Minbin
0 -
Hi Stefan,
Just found if put the Set Current Form Element Item in a foreach activity. It would only set the last item in the loop.
is is possible to set the element value along with the looping?
Aim to indicate on the form currently which item is processing
Thanks
0 -
Hi Minbin,
Yes, you can change the current value while looping. Use the loop's 'pass' property (zero-indexed) to indicate which pass the loop is currently on.
Thanks, Stefan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare