- This topic has 4 replies, 3 voices, and was last updated 14 years, 2 months ago by wayne.
-
AuthorPosts
-
raemounzMemberHi guys. I actually downloaded the application and was able to put text and buttons on the screen. My problem is, how can I add functionality when, say, I click my button? For example, when I click the Next button, I should check if my previous inputs are correct and do some calculation like that. I’m a java developer but I don’t know what language to used here and where to put them.
Btw, I like this application. Hope there will be documentation soon. Thanks.
Albatros78ParticipantHello Raemounz
Here you need to have knowlegde of web design (html, css, javascript …)
To have a quick link on one button, you can open the button properties (right click) and choose you link into link option.
Generally, link is configured to go to a new page or Javascript function.If you need to have more checks before to go to another page, you need to program your javascript file, and including them after an export into your” AppName_customs.js” file
Hope this helps to start
🙂
wayneModeratorraemounz,
Currently it is not as easy as it should be to attach your own logic to a page before performing a transition.
We have a MobiOne update planned for next Tues that will provide the ability to add your own logic to peform before and after a page transition. You will be able to approve/veto the page transition.
Wayne
Genuitec Mobile Team
Albatros78ParticipantHi Wayne,
Before to wait the next update, I understood that it was possible to do that with the post and presubmit function has explained in your answer at http://www.genuitec.com/support-mobione/viewtopic.php?f=8&t=1014
Not tested yet from my side.
????
wayneModeratorraemounz,
The milestone-10 release of MobiOne is scheduled to release late tomorrow (Tue) if our QA completes cleanly. It will include 2 new functions that can be customized: prePageTransition(currentPageId, targetPageId)
postPageTransition(newPageId)Wayne
Genuitec Mobile Team -
AuthorPosts