facebook

How do I submit to my server and display the results?

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

    tulsabass
    Member

    How do I submit the data from the iphone emulator to my server to retrieve data and then display the results on the iphone emulator?
    All the help links say “coming soon”.
    I have my URL in the Form Action URL.
    Form Method is set to POST
    The Button Form Action is set to Submit.
    But nothing ever submits.

    Please help.
    I love the ease of this tool!
    I really want to get this going.

    Thanks,
    Jeff

    #311434 Reply

    wayne
    Moderator

    Hi Jeff,

    Sorry about the delay in responding. I had to track down some things and as well as see how the form processing improvement plan is progressing.

    There is a BUG in update-3 that causes the submit operation to terminate premature. Here is how to fix it, add the highlighted line below to your <design-name>.js file:

    See attachment snippet-screenshot.gif

    This is my BAD for not having form docs and examples available yet. I’m working with the dev team now to simplify scripting of dynamically served pages. The current form support is ajax based and requires users to provide custom javascript code for processing a form result which most of us would rather avoid.

    Wayne
    Genuitec Mobile Team

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

    wayne
    Moderator

    Update – We recognize that from processing still needs help

    Late this week we will release a MobiOne update that includes the ability to split the html app into multiple html files that can be loaded dynamically, i.e., dynamic page includes. Also form processing will be able to accept results as ajax data(xml, json, text), HTML page include and external web page.

    Wayne
    Genuitec Mobile Team

    #311699 Reply

    Albatros78
    Participant

    Hi Wayne, Jeff

    I downloaded the lastest release 1.0M9U4

    And I have the same issue as Jeff before.
    Not necessary to modify the js file. It’s already done in this release

    For info the js file is not “design-name”.js but “mobione.js” from my side !!!

    Any solutions to fix this issue with the release !

    Thks

    #311744 Reply

    Albatros78
    Participant

    Hy Wayne,

    Did you received my previous comment on this issue ?

    Any solutions today ?

    Thanks

    #311777 Reply

    wayne
    Moderator

    I apologize for the delay as it is super busy here. I hope to provide an example today (Tue) or tomorrow.

    Wayne

    #311804 Reply

    rhytha
    Member

    Hi Wayne,

    Can you provide us the sample code or online documentation for html form submit and get the value & display the it another page?

    It would be great if you provide us the details, as we are new to this iPhone Application development. We are trying to this for many hrs and search in the forms. but no solution.

    Also, is it possible to interface b/w the php application ? Thanks in advance..

    #311806 Reply

    Albatros78
    Participant

    Hi Rytha

    Like you see, your are not alone with this issue.

    Need to wait news from Wayne, which normally will post something today. I hope so.

    Regarding PHP, i can say YES, with no really doubt… Because php is executed from the server side only, and your browser will receive just only html/js page genrated by php on web site server.

    If I do a mistake, Wayne pls could your confirm that PHP is not an issue with Mobione

    Regards

    #311811 Reply

    wayne
    Moderator

    Yes, the example that I’m working on is based on PHP. I’m just swamped with a zillion deliverables atm and fighting to make time and develop this example that I promised. I’ll be on it later today.

    W

    #311839 Reply

    rhytha
    Member

    Hi Wayne,

    Thanks for your update and i am waiting for your expertise. It would be great if you could fix and give us some sample code or online documentation.

    Also, is it possible to retrieve data from xml file and display the results in any one of index.mobi extension file?

    scenario
    ——–
    I am having the following files in my application which contains some datas.

    1. index.mobi – this is the home page where i m having some links, when i click this it will be redirected to datas.mobi file
    2. datas.mobi – this file should read the datas from category.xml file and display the list of categories.
    3. categories.xml file which contains the categories like sports, science, business and etc.

    and if i want to run this application, whether it will work in Test Center or it will work in browser too?

    Thanks again 🙂 Keep Rocking !!!

    Regards
    Arun

    #311925 Reply

    Albatros78
    Participant

    Hi Wayne,

    Busy… pls to have your promised example ?
    or does it necessary to wait next release which will fix it ?

    Thanks for you help.

    #311926 Reply

    wayne
    Moderator

    My apologies again for the delay. I have been testing the completion of the form enhancements that should be available very soon. They were not completed to our satisfaction for the update-4 release.

    A few enhancements that I’m testing now:
    – real back button support with customizable inverse transition
    — can’t get this from any other framework
    – generation of dynamic HTML page includes (html, css, js)
    — think external html content merged into DOM w/ transitions
    – form result handling for dynamic HTML page includes

    Wayne
    Genuitec Mobile Team

    #311937 Reply

    Albatros78
    Participant

    Ha good news.

    There is a real issue with the form submit and POST method

    Take your time to check new fixes a features about this issue, because it’s a major funtion in HTML, and don’t use html form is sometimes impossible.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: How do I submit to my server and display the results?

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