Skip to main content
Known Participant
May 8, 2017
Question

Make shift calculator won't calculate on button click on iPads.

  • May 8, 2017
  • 5 replies
  • 412 views

I have a make shift calculator with 8 text entry fields. At the bottom is a "calculate" button that adds the above fields and gives an answer to the user. The button has an advanced action that adds the inputs of the text fields. I had to have multiple actions in there as it seems you can only perform one equation between only 2 variables/entries at a time. 

This works fine in every browser we have tested on, but I am getting no return on the iPad. You can enter values in the text fields, but the "calculate" button does nothing.

I saw a couple of related questions, but none were quite the same, and most didn't exactly seem solved. 

Anyone have any leads? 

 

*Unrelated but similar, every time we publish for both flash/html I have issues on the iPad. It usually has to do with images just not showing up. If I republish, sometimes they appear. Problem is I need to retest the entire course to make sure nothing else vanished. I always check the HTML tracker, and the only thing I usually have in there is slide to slide fades, which aren't mandatory on the iPad. I can't imagine that causes other functionality issues. 

This topic has been closed for replies.

5 replies

Known Participant
May 9, 2017

I want to point out again that this slide functions fine on a PC, in Chrome and IE which are the other client requirements.

Known Participant
May 9, 2017

For the basic test, I have three variables, userAnswer and then the two text field variables. Then the button fires an expression, userAnswer = the two variables added together. Should be pretty simple stuff, and yet it's not working.

Lilybiri
Legend
May 9, 2017

Advanced actions are converted to JS on runtime, I doubt very much that the Expression command wouldn't work. Which browser did you try?

Known Participant
May 9, 2017

on the iPad I'm in Safari. Just noticed in my latest publish of the actual course that I have no audio now as well. This is also something I've experienced before.

Known Participant
May 9, 2017

I just tried a more basic version to test, and that is still not working. Wondering if there is something to do with Expressions not working on iPads...

BDuckWorks
Inspiring
May 9, 2017

Another thought, you said "every time we publish for both flash/html I have issues on the iPad," are you always publishing both? This may be a source of frustration, as it was for me!

 

I found that publishing separately was required, as the combined output was different from each individual format.

 

If may not be the source of the issue, but I'd recommend that you examine it by publishing and testing multiple versions of the same files.

thisguy4xapi
Inspiring
May 8, 2017

I can't provide an answer, but I can give you a couple tips to find out what might be going on.

What browser are you using on iPad?  If you use Safari, you can plug in ipad to computer and view console for the safari on your iPad on your computer (at least for Mac, I would assume the same for windows).  Drop down the develop menu in Safari and choose your iPad.  This will display console.

Now add to your advanced actions an execute javascript.  In that script put console.log('firing').  If that appears in your console when you tap the button on iPad you know that it is firing.  If there is no message you will know it has something to do with the button.

I know that click boxes work well in iPad, if you have no success try publishing and attach the same action to click box and see if it "fires" using that.

All about process of elimination when debugging...Good luck!