facebook

Select list from all pages

💡
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 15 posts - 16 through 30 (of 38 total)
  • Author
    Posts
  • #329931

    Paul_paul
    Participant

    Hi There, I was wondering if you had an answer for me regarding my last post? Keeping the summary screen available whilst using the dial phone function.

    #330021

    Paul_paul
    Participant

    Anybody there?

    #330057

    Paul_paul
    Participant

    helloooo??

    #330061

    Hi stickleback,

    I’ve shared your request with dev team to to provide accurate response. Will follow up tomorrow.

    #332486

    Paul_paul
    Participant

    Can I just jog your memory a little, tomorrow was almost 2 months ago, any news yet?

    #332509

    support-michael
    Keymaster

    Hi

    > Keeping the summary screen available whilst using the dial phone function.

    Need some more info:
    1) test device/os version
    2) you are testing a webapp, right?
    2a) when the call concludes is your experience that the webapp restarts?
    2b) is the webapp being launched from the device’s homescreen, i.e., it was previously saved to the homescreen?

    #332517

    Paul_paul
    Participant

    Hi Wayne,
    yes it is a web app, have tested on iphone 4 and 5, the phone is activated from a ‘call phone’ button within the app, the app has to be restarted after the phone call is activated as it closes and forgets the list data. I would like to put the ‘call phone’ button on the summary screen and not lose the list data while making the call, is this possible?

    #332518

    support-michael
    Keymaster

    >yes it is a web app

    Is the webapp being launched from the homescreen?

    #332521

    Paul_paul
    Participant

    Hi Wayne, no it’s being launched from an ‘order’ page, would you like me to send you the link to the app?

    #332522

    Hi stickleback,

    Is that ‘order page’ (main app) launched from the homescreen? Share your webapp url with us our support email: support at genuitec dot com, use title mobione webapp from stickleback

    #332776

    support-michael
    Keymaster

    @stickleback

    From the webapp url we ran tests on ios devices. Here is our findings.
    We selected several menu items and then reviewed them from the order screen. Placed call. Terminate call. Webapp resumes.

    Scenario-1: launch webapp from URL
    When webapp resumes after call the user is able to view the order summary. All order data is present. The webapp is not reloaded.

    Scenario-2: save webapp to home screen and launch
    When webapp resumes after the call the webapp is reloaded and order data is lost.

    An option to consider is saving the most recent order summary with timestamp to localstorage and then read it when the webapp restarts.

    #334791

    Paul_paul
    Participant

    Hi Support, I need to alter the custom.js file to select items from different lists, i.e. List 1: select items, List 2: select items and so on. How can I achieve this. Hope you can help.

    #334856

    @stickleback,

    Could you share more details about where are you having troubles? maybe a couple screenshots will help us to understand your request/problem.

    #334859

    Paul_paul
    Participant

    Hi
    List 1: select items and summarize works fine on my apps using the custom.js file in your example as follows:

    phoneui.prePageTransition = function(currentPageId,targetPageId) {
    // add custom pre-transition code here
    // return false to terminate transition

    if (currentPageId == ‘#m1-order’) {
    summarize();
    }

    return true;
    }

    phoneui.documentReadyHandler = function() {
    }

    function summarize() {
    var summary = “”;

    //multiple select list: get selected items as array
    $(‘select[name=”list1″] :selected’).each(
    function(i, selected) {
    summary += $(selected).text()/* + “;” + $(selected).val()*/ + “\n”;
    });

    $(‘#m1-summary-textArea1’).text(summary);
    }

    I now wish to be able to allow the user to select from a choice of lists, ie Breakfast (list2), Dinner(list3) and Lunch (list4) and summarize each list individually depending on which category they choose.

    Than you for your help.

    #335149

    Paul_paul
    Participant

    Have you formulated any response to my question?

Viewing 15 posts - 16 through 30 (of 38 total)
Reply To: Select list from all pages

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