facebook

Bringing Other ".mobi" Forms to Project: CLOSED

💡
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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #332535 Reply

    mreade
    Member

    Support,

    I am currently using the 15-day trial version of MobiOne. I have created a few .mobi screens (forms) such as frmMain.mobi, frmList.mobi for iOS app, and I am able to move between these screens.

    I am currently trying to build a math-related app. I found a sample file called sum.mobi though a link on your web site. I’ve made a few changes to this file, and I am able to run the file in the Test Center. The math seems to work when i run the file all by itself. So, I renamed the sum.mobi to frmCalc.mobi via Save As, then on my frmList.mobi form, and I have added a Form Action to show the frmCalc.mobi form when I select a specific list item on the mrmList.mobi form. The frmCalc.mobi form does show, but the form does not calculate any results.

    I should also point out that I am completely NEW – AKA – Beginner – to JavaScript. I do have a little experience with VB6 but that’s as far as it goes.

    Please offer any suggestions with respect to this issue.

    Thanks in advance

    #332541

    Hi mereade,

    Please see this explanation for a similar question: http://www.genuitec.com/support-genuitec/viewtopic.php?p=6485#p6485

    In a nutshell you should move/copy your javascript code from your math_custom.js to main_custom.js (I don’t know that is your main screen). Let me know how it goes for you.

    #332564

    mreade
    Member

    Good Morning Support,

    Well, i have tried moving the code from the calc.mobi form to the main.mobi screen and I am still unable to get the calculation to work when the run the app from the main.mobi form.

    If I run the app from the calc.mobi only form, all seems well.

    Where exactly would I need to insert the code from calc.mobi into main.mobi.

    Like trying to learn any new programming language, there is bound to be a fews glitches along the way.

    Thanks for your patience.

    #332600

    mreade
    Member

    Support,

    While waiting to hear back from you, I continued work play with the coding to get my form to calculate the results. In doing so, I realized that I had not modified the following code:

    Var arg1 = parseFloat($(‘#m1-sum-arg1Field’).val (), 10);

    The change was to replace “sum” with the name of the form (ie: “calc”) so the code in the main.mobi form would calculate the results on the calc.mobi form.

    So for now, all is well, I am winding down the 15 day trial period and it looks promising that I will purchase Mobione at the end of the trial period.

    I must say, although this seemed very intimidating at first, it is just a matter of following a few procedures to get things to work. And, the Mobione Design/Test Centers is a excellent platform to WYSIWYG platform for creating apps. Kudos!

    Mike

    #332612

    Hi Mike,

    Thanks for following up with us sharing that you solved this problem. Marking thread as closed.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Bringing Other ".mobi" Forms to Project: CLOSED

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