facebook

select item of Select List => internal value and UI: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #329195 Reply

    bosalb
    Member

    Could you give me a small example, how to select an item of a Select List programmaticly?
    The internal value and the check mark should be set with the code snippet.
    The ID of the Select List is e.g. LIST1 and the value of Select List Item is ‘TEST1’.
    Thanks!

    #329230 Reply

    Hi bosalb,

    You can find the snippet code here: http://www.genuitec.com/support-genuitec/viewtopic.php?p=8909#p8909

    You only should need to change the var itemsToSelect with the indexes that you want to select.

    var itemsToSelect = [0, 1, 2];

    In the same post, you can see how to unselect all items.
    Let me know if you need more assistance.

    #329234 Reply

    StephenNott
    Member

    Hi octavio’
    Could u plse have a look at my previous posts and
    advise.
    With 2 list screens ( say screen1, screen2 ) + a summary screen I can get the “unselect” feature working
    in the emulator but it does not function correctly when downloaded to my 4S, nor in chrome browser.
    I only want to show one result at a time on the summary screen but intial selection ( say from screen1 )
    persists on summary screen when i then select item from screen2.
    Hope u understand.
    Please help.

    #329249 Reply

    bosalb
    Member

    Thanks, it is working fine!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: select item of Select List => internal value and UI: CLOSED

You must be logged in to post in the forum log in