facebook

How to override a form submit when device ready

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

    Well. I need to submit a form (with post or get) at the app load.
    (maybe showing a loader wheel)
    After splash screen I would to submit an url without to click on any submit button
    so the next screen I can see is the landing screen I can set dinamically by the response I get from the
    submit action.
    There is an how to ?
    An help on this will be much appreciated.
    Thanks
    Eudosia

    #339135 Reply

    support-michael
    Keymaster

    @eudosia

    There is no example for this a custom submission and result handling.

    If your initial screen is configured as a form in the visual designer then the code generator will create a presubmitxxx() postsubmitxxx() functions that you can implement custom handler code. In phoneui.js there is the submitForm() function that is call by widgets that use an OnClick Submit Form action. Give this function a look. You’ll see that it will display a busy cursor while executing.

    #339145 Reply

    Yes I will go through the phoneui.submitform function
    In mobione form submit can I submit also files like in a multipart/form-data ?
    Thanks

    #339163 Reply

    @eudosia,

    >In mobione form submit can I submit also files like in a multipart/form-data ?
    Wayne have responded this question in your other thread: http://www.genuitec.com/support-genuitec/viewtopic.php?p=17811#p17811

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to override a form submit when device ready

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