Skip to main content

Selected Index is not working

Comments

4 comments

  • Stefan Schweigert

    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
  • Malcolm Walker
    • Community-Manager

    Thanks Stefan,

     

    It works. I got the wrong activity.

     

    Kind Regards,

    Minbin

    0
  • Malcolm Walker
    • Community-Manager

    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
  • Stefan Schweigert

    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

Please sign in to leave a comment.