facebook

Select List Menu

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    ycj
    Member

    Select List Menu widget is very useful. However, it would be nice not have to click “Back” button when an item has been selected. Is there a way to bypass the “Back” button and return to the previous page as soon as an item has been selected?
    Thanks.

    #345122

    KariSolamaki
    Member

    Hi, you can add a function into list On Change property.
    Function is as follows: window.history.back();

    Br, ET

    #345124

    ycj
    Member

    It does not seem to work. The only time OnChange calls the function is when “Back” button is pushed.

    ycj

    #345126

    KariSolamaki
    Member

    You should put the function into list OnChange property…
    see the attached picture.

    Br, ET

    Attachments:
    You must be logged in to view attached files.
    #345127

    ycj
    Member

    It still does not work. It only goes back when clicks “Back”.

    #345132

    KariSolamaki
    Member

    Tested in MobiOne 2.5 and MobiOne Web Simulator and it works for me…
    Are you using multipage or normal page system?

    Br, ET
    http://www.einotes.com

    #345248

    ycj
    Member

    I have version 2.5 also. I just created only 1 select list menu widget. I believe it is normal page. It still does not catch any action.

    ycj

    #345249

    KariSolamaki
    Member

    Hi,
    take a look at this project.
    It makes page navigation in different ways.

    Attachments:
    You must be logged in to view attached files.
    #345250

    ycj
    Member

    What I have problem with is “Select List Menu” widget not “Select List”.
    What I like about this widget is that it updates the selected item after selection on the main menu. However, after selection is done I need to click the “Back” button, which seems to be an unnecessary step.

    Attachments:
    You must be logged in to view attached files.
    #345251

    KariSolamaki
    Member

    Ok,
    the problem is as follows: the select list menu doesn’t have OnChange property.
    Does this help, check the youtube video: http://www.youtube.com/watch?v=U2ujNBpw34A

    br, ET

    #345252

    ycj
    Member

    Any plan on implement this OnChange() feature in the near future?

    #345254

    KariSolamaki
    Member

    @ycj wrote:

    Any plan on implement this OnChange() feature in the near future?

    That’s a question which I can’t give an answer…
    I am not involved with Genuitec or any other company,
    just learning the environment for my own purposes 😉

    Br, ET
    http://www.einotes.com

    #345283

    Hi ycj,

    >Any plan on implement this OnChange() feature in the near future?
    Note that when you add a SLM widget in your design, the element that is selected in the outline view is the list(attachment 1) and the element that contains the onChange action for the select list menu is the select list menu widget (attachment 2)

    See attachment SLM1.png
    See attachment SLM2.png

    Attachments:
    You must be logged in to view attached files.
    #345294

    KariSolamaki
    Member

    @support-octavio wrote:

    Note that when you add a SLM widget in your design, the element that is selected in the outline view is the list(attachment 1) and the element that contains the onChange action for the select list menu is the select list menu widget (attachment 2)

    Fine answer, I did not investigate it thoroughly… Thank you, Octavio, I also will keep this in my mind for further use!

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Select List Menu

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