Hi,
I am new to the platform, just working my way around it and putting together a couple of small example apps at the moment. I have created a 5 page data capture app with a menu, but don't seem to be able to get the menu navigation to trigger off a javascript switch command. I used the example from the help guide but I dont get any activity. here is my code snippet, could someone point me in the right direction?
switch (controls.MAIN_MENU.selected)
{
case "CUSTOMERLIST": form.gotoPage(pages.CUSTOMERS);
break;
case "NEWCUSTOMER": form.gotoPage(pages.NEW_CUSTOMER);
break;
}
Toby
Menu navigation Javascript
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 3
- Joined: Thu May 30, 2013 12:17 pm
- Location: Malmesbury
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 3
- Joined: Thu May 30, 2013 12:17 pm
- Location: Malmesbury
- Contact:
Who is online
Users browsing this forum: No registered users and 12 guests