Matt Oakes
Posts: 0
Joined: Fri Mar 01, 2013 12:45 pm

Button not working but programmed correctly. Is this a bug?

Hi,

I'm trying to make an intro screen with a picture and a button on it. On pressing the button, the app should navigate to another screen. In "Test", the button does not work - it just hangs with the circle rotating in the middle and the screen greyed out. The button is definitely configured properly in the "Events" tab. Is this a bug?

Thanks,,

Matt

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Button not working but programmed correctly. Is this a bug?

Hello! Did you get any JS error in Console?

Matt Oakes
Posts: 0
Joined: Fri Mar 01, 2013 12:45 pm

Button not working but programmed correctly. Is this a bug?

No error that I can find, it's just hanging.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Button not working but programmed correctly. Is this a bug?

Could you please make your app link Publick and send us that link - (go to Test, check Public)?

Matt Oakes
Posts: 0
Joined: Fri Mar 01, 2013 12:45 pm

Button not working but programmed correctly. Is this a bug?

Hi,

I'm a teacher and the project is one of my students'. Here it is:

http://project.tiggzi.com/mobile-fram...

Thanks,

Matt

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Button not working but programmed correctly. Is this a bug?

There is incorrect JS on Screen1 on "Button1":

codeif (localstorage.getitem('answer1') '= 'dogs')/code

change it to

codeif (localstorage.getitem('answer1') == 'dogs')/code

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Button not working but programmed correctly. Is this a bug?

localstorage.getitem('answer1') Syntax ok?
thought it need capitalization ..
localStorage.getItem

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Button not working but programmed correctly. Is this a bug?

Hi Neil, sorry, it was incorrect. Should be localStorage.getItem

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Button not working but programmed correctly. Is this a bug?

Just thought I would mention it. Incase he took your fix exactly as stated. lol

Return to “Issues”