Search found 8 matches

Go to advanced search

by Ben7311441
Fri Jan 16, 2015 1:28 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

Okay, my mistake wrongly put JS. Thank you sir. Problem solved.

by Ben7311441
Fri Jan 16, 2015 12:38 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

I did paste this code in JS space in local storage DATA. but when i run barcode scanner, i scanned "page 1", it didnt navigate me to "Home" page, and end up display "there is no such data". May i know which part that i did it wrong? I attached images of screen shot here.

by Ben7311441
Thu Jan 08, 2015 1:58 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

by Ben7311441
Thu Jan 08, 2015 1:50 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

I did this, i already created variable in local storage named DATA. result of barcode scanner will mapped on DATA . Then I put this JS code on that DATA : var pageMapping = { "page 1": "Home", "page 2": "Activity 1", "page 3": "Activity 2" ...
by Ben7311441
Wed Jan 07, 2015 11:32 pm
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

Sorry if i am asking too much sir.. I already understand the rest of the code u mentioned, and I thankful for that. But.. i am a bit confused with the 1st code line.. the result you initialized as "page 2". How to make result be initialized directly with value from barcode scanner.. 1) How...
by Ben7311441
Tue Jan 06, 2015 7:33 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

Thanks for your reply. Really appreciate that. Here some idea of what i actually want but don't know how to implement it in apperyio. Hope you can help: *After barcode scanner scanned the barcode, its result stored in "Data". { if (Data=="page1") navigateTo(page1); else if(Data==...
by Ben7311441
Tue Jan 06, 2015 4:32 am
Forum: Issues
Topic: If else statement in Barcode scan result
Replies: 10
Views: 366
 
Jump to post

If else statement in Barcode scan result

I already make a Barcode scanner, the result after it scan the barcode is in text (example - "page 2"). My problem is how do i want create event on the result. That result will determine which page the application will display. Example : Result Name of Page "page 1" Home "pa...

Go to advanced search